Fixes
This commit is contained in:
@@ -31,6 +31,7 @@ public struct GroupListView: View {
|
|||||||
Text("Empty groups")
|
Text("Empty groups")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .center)
|
||||||
.onAppear(perform: doReload)
|
.onAppear(perform: doReload)
|
||||||
.onDisappear {
|
.onDisappear {
|
||||||
connectTask?.cancel()
|
connectTask?.cancel()
|
||||||
|
|||||||
@@ -216,6 +216,6 @@ public struct NewProfileView: View {
|
|||||||
remoteURL = remotePath
|
remoteURL = remotePath
|
||||||
lastUpdated = .now
|
lastUpdated = .now
|
||||||
}
|
}
|
||||||
try ProfileManager.create(Profile(name: profileName, type: profileType, path: savePath, remoteURL: remoteURL))
|
try ProfileManager.create(Profile(name: profileName, type: profileType, path: savePath, remoteURL: remoteURL, lastUpdated: lastUpdated))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ public enum ServiceNotification {
|
|||||||
|
|
||||||
private class Delegate: NSObject, UNUserNotificationCenterDelegate {
|
private class Delegate: NSObject, UNUserNotificationCenterDelegate {
|
||||||
func userNotificationCenter(_: UNUserNotificationCenter, willPresent notification: UNNotification) async -> UNNotificationPresentationOptions {
|
func userNotificationCenter(_: UNUserNotificationCenter, willPresent notification: UNNotification) async -> UNNotificationPresentationOptions {
|
||||||
NSLog("userNotificationCenter")
|
|
||||||
if let listener = ServiceNotification.listener {
|
if let listener = ServiceNotification.listener {
|
||||||
listener(notification.request.content)
|
listener(notification.request.content)
|
||||||
return []
|
return []
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<key>ApplicationLibrary.xcscheme_^#shared#^_</key>
|
<key>ApplicationLibrary.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>orderHint</key>
|
<key>orderHint</key>
|
||||||
<integer>3</integer>
|
<integer>5</integer>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Associations (Playground) 1.xcscheme</key>
|
<key>Associations (Playground) 1.xcscheme</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
<key>MacLibrary.xcscheme_^#shared#^_</key>
|
<key>MacLibrary.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>orderHint</key>
|
<key>orderHint</key>
|
||||||
<integer>5</integer>
|
<integer>2</integer>
|
||||||
</dict>
|
</dict>
|
||||||
<key>MessageExtension.xcscheme_^#shared#^_</key>
|
<key>MessageExtension.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
<key>SystemExtension.xcscheme_^#shared#^_</key>
|
<key>SystemExtension.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>orderHint</key>
|
<key>orderHint</key>
|
||||||
<integer>2</integer>
|
<integer>3</integer>
|
||||||
</dict>
|
</dict>
|
||||||
<key>Test.xcscheme_^#shared#^_</key>
|
<key>Test.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
|
|||||||
Reference in New Issue
Block a user