fix: replace deprecated NavigationView with NavigationStack in SettingsView
This commit is contained in:
parent
e8b3cc422f
commit
d91cebef6c
|
|
@ -13,7 +13,7 @@ struct SettingsView: View {
|
|||
@AppStorage("faceid.enabled") private var faceIDEnabled = false
|
||||
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
NavigationStack {
|
||||
Form {
|
||||
Section("Security") {
|
||||
Toggle("Require Face ID", isOn: $faceIDEnabled)
|
||||
|
|
|
|||
Loading…
Reference in New Issue