aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Library
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2025-11-11 20:25:40 -0800
committerDustin Mierau <dustin@mierau.me>2025-11-11 20:25:40 -0800
commit5a3d06c527cf03d68149449965fade0dd5ea0ed2 (patch)
tree73a1723fb3f99fd53cf23e87901043b7fd0a3cf1 /Hotline/Library
parentb58129025413367d8237b3147a9fa96bd4e6924f (diff)
Fix warning in console about panel not restoring. Add popover for compact transfers list items. Remove push notification entitlement.
Diffstat (limited to 'Hotline/Library')
-rw-r--r--Hotline/Library/Views/HotlinePanel.swift5
1 files changed, 4 insertions, 1 deletions
diff --git a/Hotline/Library/Views/HotlinePanel.swift b/Hotline/Library/Views/HotlinePanel.swift
index d7d8284..f6d76fc 100644
--- a/Hotline/Library/Views/HotlinePanel.swift
+++ b/Hotline/Library/Views/HotlinePanel.swift
@@ -22,7 +22,10 @@ class HotlinePanel: NSPanel {
// Don't delete panel state when it's closed.
self.isReleasedWhenClosed = false
-
+
+ // Disable state restoration for this utility panel
+ self.isRestorable = false
+
self.standardWindowButton(.closeButton)?.isHidden = false
self.standardWindowButton(.zoomButton)?.isHidden = true
self.standardWindowButton(.miniaturizeButton)?.isHidden = true