added a basic about thingy

- added a Bundle.swift to manage getting info from the Bundle.main.infoDictionary
 - extended UIImage to show the app's icon via UIImage().appIcon
This commit is contained in:
neon443
2025-08-02 20:45:45 +01:00
parent 2290a5c275
commit 7850a3839a
4 changed files with 92 additions and 14 deletions

View File

@@ -43,22 +43,32 @@ struct ContentView: View {
}
}
NavigationLink {
SnippetManagerView(hostsManager: hostsManager)
} label: {
Label("Snippets", systemImage: "paperclip")
Section {
NavigationLink {
SnippetManagerView(hostsManager: hostsManager)
} label: {
Label("Snippets", systemImage: "paperclip")
}
NavigationLink {
KeyManagerView(hostsManager: hostsManager, keyManager: keyManager)
} label: {
Label("Keys", systemImage: "key.fill")
}
NavigationLink {
HostkeysView(hostsManager: hostsManager)
} label: {
Label("Hostkey Fingerprints", systemImage: "lock.display")
}
}
NavigationLink {
KeyManagerView(hostsManager: hostsManager, keyManager: keyManager)
} label: {
Label("Keys", systemImage: "key.fill")
}
NavigationLink {
HostkeysView(hostsManager: hostsManager)
} label: {
Label("Hostkey Fingerprints", systemImage: "lock.display")
Section {
NavigationLink {
AboutView()
} label: {
Label("About", systemImage: "info.square")
}
}
}
.scrollContentBackground(.hidden)