Fix .locksInBackground AppStorage key (#346)
This commit is contained in:
parent
b4b2db176c
commit
c80d17ceb4
|
@ -491,7 +491,7 @@ extension View {
|
|||
|
||||
extension View {
|
||||
func themeLockScreen() -> some View {
|
||||
@AppStorage(AppPreference.locksInBackground.rawValue) var locksInBackground = false
|
||||
@AppStorage(AppPreference.locksInBackground.key) var locksInBackground = false
|
||||
return LockableView(
|
||||
locksInBackground: $locksInBackground,
|
||||
content: {
|
||||
|
|
|
@ -33,7 +33,7 @@ struct SettingsView: View {
|
|||
|
||||
@Environment(\.presentationMode) private var presentationMode
|
||||
|
||||
@AppStorage(AppPreference.locksInBackground.rawValue) private var locksInBackground = false
|
||||
@AppStorage(AppPreference.locksInBackground.key) private var locksInBackground = false
|
||||
|
||||
private let versionString = Constants.Global.appVersionString
|
||||
|
||||
|
|
Loading…
Reference in New Issue