add settingsview

add setting struct
add export/importhosts fumction
This commit is contained in:
neon443
2025-08-19 16:48:36 +01:00
parent 171843c9a3
commit 78bdb60350
6 changed files with 112 additions and 19 deletions

View File

@@ -69,6 +69,11 @@ struct ContentView: View {
}
Section {
NavigationLink {
SettingsView(hostsManager: hostsManager, keyManager: keyManager)
} label: {
Label("Settings", systemImage: "gear")
}
NavigationLink {
AboutView(hostsManager: hostsManager)
} label: {