mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-09-22 11:40:12 +00:00
Hide settings link on macos (#1681)
This commit is contained in:
parent
cc03465956
commit
534b098ca6
1 changed files with 2 additions and 0 deletions
|
@ -159,10 +159,12 @@ struct SettingsTabs: View {
|
|||
NavigationLink(destination: TranslationSettingsView()) {
|
||||
Label("settings.general.translate", systemImage: "captions.bubble")
|
||||
}
|
||||
#if !targetEnvironment(macCatalyst)
|
||||
Link(destination: URL(string: UIApplication.openSettingsURLString)!) {
|
||||
Label("settings.system", systemImage: "gear")
|
||||
}
|
||||
.tint(theme.labelColor)
|
||||
#endif
|
||||
}
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue