fix: replace deprecated NavigationView with NavigationStack in SettingsView

This commit is contained in:
jay 2026-05-16 04:22:30 +02:00
parent e8b3cc422f
commit d91cebef6c
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ struct SettingsView: View {
@AppStorage("faceid.enabled") private var faceIDEnabled = false @AppStorage("faceid.enabled") private var faceIDEnabled = false
var body: some View { var body: some View {
NavigationView { NavigationStack {
Form { Form {
Section("Security") { Section("Security") {
Toggle("Require Face ID", isOn: $faceIDEnabled) Toggle("Require Face ID", isOn: $faceIDEnabled)