mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-18 13:16:49 +00:00
Display app version in settings #204
This commit is contained in:
parent
5321b2b8d8
commit
cab7116d50
1 changed files with 4 additions and 0 deletions
|
@ -134,6 +134,10 @@ struct SettingsTabs: View {
|
|||
NavigationLink(destination: SupportAppView()) {
|
||||
Label("settings.app.support", systemImage: "wand.and.stars")
|
||||
}
|
||||
|
||||
if let appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String {
|
||||
Label("App Version: \(appVersion)", systemImage: "app.badge.checkmark")
|
||||
}
|
||||
}
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue