iOS: Actually save preferences
This commit is contained in:
parent
57023d204d
commit
012ada4af7
@ -21,6 +21,9 @@ struct PreferencesView: View {
|
||||
.insetOrGroupedListStyle()
|
||||
.navigationBarItems(trailing: doneButton)
|
||||
}
|
||||
.onDisappear {
|
||||
Preferences.save()
|
||||
}
|
||||
}
|
||||
|
||||
private var doneButton: some View {
|
||||
|
Loading…
x
Reference in New Issue
Block a user