fix: subtle reminders consuming and remaining on click
This commit is contained in:
@@ -191,9 +191,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, ObservableObject {
|
||||
window.contentView = NSHostingView(rootView: content)
|
||||
window.collectionBehavior = [.canJoinAllSpaces, .fullScreenAuxiliary]
|
||||
|
||||
// Allow mouse events for all reminders (needed for dismiss button)
|
||||
window.acceptsMouseMovedEvents = true
|
||||
window.ignoresMouseEvents = false
|
||||
// Allow mouse events only for overlay reminders (they need dismiss button)
|
||||
// Subtle reminders should be completely transparent to mouse input
|
||||
window.acceptsMouseMovedEvents = requiresFocus
|
||||
window.ignoresMouseEvents = !requiresFocus
|
||||
|
||||
let windowController = NSWindowController(window: window)
|
||||
windowController.showWindow(nil)
|
||||
|
||||
@@ -6,10 +6,5 @@
|
||||
<true/>
|
||||
<key>com.apple.security.network.client</key>
|
||||
<true/>
|
||||
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
|
||||
<array>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spks</string>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spki</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -22,15 +22,5 @@
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright © 2026 Mike Freno. All rights reserved.</string>
|
||||
<key>SUPublicEDKey</key>
|
||||
<string>Z2RmohI1y2bgeGQQUDqO9F0HNF2AzFotOt8CwGB6VJM=</string>
|
||||
<key>SUFeedURL</key>
|
||||
<string>https://freno.me/api/Gaze/appcast.xml</string>
|
||||
<key>SUEnableAutomaticChecks</key>
|
||||
<true/>
|
||||
<key>SUScheduledCheckInterval</key>
|
||||
<integer>86400</integer>
|
||||
<key>SUEnableInstallerLauncherService</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -57,7 +57,6 @@ struct GeneralSetupView: View {
|
||||
.padding()
|
||||
.glassEffectIfAvailable(GlassStyle.regular, in: .rect(cornerRadius: 12))
|
||||
|
||||
// Software Updates Section
|
||||
#if !APPSTORE
|
||||
HStack {
|
||||
VStack(alignment: .leading, spacing: 4) {
|
||||
|
||||
@@ -42,21 +42,25 @@ struct UserTimersView: View {
|
||||
GlassStyle.regular.tint(.purple), in: .rect(cornerRadius: 8))
|
||||
|
||||
VStack(alignment: .leading, spacing: 12) {
|
||||
#if APPSTORE
|
||||
HStack {
|
||||
Text("Active Timers (\(userTimers.count)/3)")
|
||||
.font(.headline)
|
||||
Spacer()
|
||||
if userTimers.count < 3 {
|
||||
Button(action: {
|
||||
showingAddTimer = true
|
||||
}) {
|
||||
Label("Add Timer", systemImage: "plus.circle.fill")
|
||||
}
|
||||
.buttonStyle(.borderedProminent)
|
||||
/*#if APPSTORE || DEBUG*/
|
||||
// we will add these back in when payment method is established - and checked
|
||||
// for
|
||||
HStack {
|
||||
Text("Active Timers (\(userTimers.count)/3)")
|
||||
.font(.headline)
|
||||
Spacer()
|
||||
if userTimers.count < 3 {
|
||||
Button(action: {
|
||||
showingAddTimer = true
|
||||
}) {
|
||||
Label("Add Timer", systemImage: "plus.circle.fill")
|
||||
}
|
||||
.buttonStyle(.borderedProminent)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
/*#else*/
|
||||
/*Text("Custom Timers avilable in App Store version only")*/
|
||||
/*#endif*/
|
||||
|
||||
if userTimers.isEmpty {
|
||||
VStack(spacing: 12) {
|
||||
|
||||
Reference in New Issue
Block a user