Fixes
This commit is contained in:
@@ -31,6 +31,7 @@ public struct GroupListView: View {
|
||||
Text("Empty groups")
|
||||
}
|
||||
}
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .center)
|
||||
.onAppear(perform: doReload)
|
||||
.onDisappear {
|
||||
connectTask?.cancel()
|
||||
|
||||
@@ -216,6 +216,6 @@ public struct NewProfileView: View {
|
||||
remoteURL = remotePath
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user