Skip to content

Commit

Permalink
fix: Address warnings on macOS Sonoma
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley committed Oct 12, 2023
1 parent 86f2c06 commit 4a15190
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion interact
Submodule interact updated 55 files
+2 −0 .github/workflows/build-documentation.yaml
+1 −0 .github/workflows/build.yaml
+1 −1 LICENSE
+2 −1 Package.swift
+1 −1 Sources/Interact/Environment/CloseWindowAction.swift
+31 −0 Sources/Interact/Extensions/Alert.swift
+102 −0 Sources/Interact/Extensions/Binding.swift
+47 −0 Sources/Interact/Extensions/Button.swift
+1 −1 Sources/Interact/Extensions/Color.swift
+31 −0 Sources/Interact/Extensions/ColorPicker.swift
+1 −1 Sources/Interact/Extensions/EventModifiers.swift
+1 −1 Sources/Interact/Extensions/NSImage.swift
+1 −1 Sources/Interact/Extensions/String.swift
+36 −0 Sources/Interact/Extensions/UIView.swift
+29 −0 Sources/Interact/Extensions/URL.swift
+30 −42 Sources/Interact/Extensions/View.swift
+130 −0 Sources/Interact/Menus/MenuItem.swift
+65 −0 Sources/Interact/Menus/MenuItemsBuilder.swift
+27 −0 Sources/Interact/NativeView.swift
+39 −0 Sources/Interact/NativeWindow.swift
+32 −0 Sources/Interact/Package.swift
+9 −0 Sources/Interact/Resources/LICENSE
+2 −2 Sources/Interact/Shapes/RectCorner.swift
+1 −1 Sources/Interact/Shapes/RoundedCorner.swift
+62 −0 Sources/Interact/Utilities/Application.swift
+1 −1 Sources/Interact/Utilities/Deferred.swift
+102 −0 Sources/Interact/Utilities/IconViewModel.swift
+1 −1 Sources/Interact/Utilities/KeyEventHandler.swift
+78 −0 Sources/Interact/Utilities/KeyedDefaults.swift
+1 −1 Sources/Interact/Utilities/NSFont.swift
+1 −1 Sources/Interact/Utilities/ObservingGestureRecognizer.swift
+1 −1 Sources/Interact/Utilities/SelectionTracker.swift
+39 −0 Sources/Interact/Utilities/UndoContext.swift
+53 −0 Sources/Interact/View Modifiers/ConditionalTitle.swift
+1 −1 Sources/Interact/View Modifiers/DismissesKeyboard.swift
+1 −1 Sources/Interact/View Modifiers/HorizontalSpace.swift
+94 −0 Sources/Interact/View Modifiers/IsVisibleInScrollView.swift
+26 −15 Sources/Interact/View Modifiers/Runs.swift
+50 −0 Sources/Interact/View Modifiers/SafeNavigationLink.swift
+1 −1 Sources/Interact/Views/ApplicationFocusObserver.swift
+53 −0 Sources/Interact/Views/ConditionalHeader.swift
+65 −0 Sources/Interact/Views/ConditionalOverlay.swift
+49 −0 Sources/Interact/Views/ConfirmationButton.swift
+1 −1 Sources/Interact/Views/ContextMenuFocusable.swift
+85 −0 Sources/Interact/Views/EditableContent.swift
+1 −1 Sources/Interact/Views/FrameAutosaveView.swift
+108 −0 Sources/Interact/Views/HookView.swift
+18 −10 Sources/Interact/Views/IconView.swift
+5 −3 Sources/Interact/Views/PlaceholderView.swift
+1 −1 Sources/Interact/Views/ResponderView.swift
+1 −1 Sources/Interact/Views/RightClickObservingView.swift
+1 −1 Sources/Interact/Views/RightClickableSwiftUIView.swift
+1 −1 Sources/Interact/Views/SearchField.swift
+1 −1 scripts/environment.sh
+1 −1 scripts/install-dependencies.sh
4 changes: 2 additions & 2 deletions macos/Overview/Interface/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ struct ContentView: View {
} detail: {
HStack {
if windowModel.loading {
Placeholder {
PlaceholderView {
ProgressView()
.progressViewStyle(.circular)
}
} else if !windowModel.summaries.isEmpty {
YearView(summaries: windowModel.summaries)
} else {
Placeholder(windowModel.summaries.isEmpty ? "No Calendars Selected" : "No Events")
PlaceholderView(windowModel.summaries.isEmpty ? "No Calendars Selected" : "No Events")
}
}
.navigationTitle("Overview")
Expand Down

0 comments on commit 4a15190

Please sign in to comment.