mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-09-22 19:50:01 +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()) {
|
NavigationLink(destination: TranslationSettingsView()) {
|
||||||
Label("settings.general.translate", systemImage: "captions.bubble")
|
Label("settings.general.translate", systemImage: "captions.bubble")
|
||||||
}
|
}
|
||||||
|
#if !targetEnvironment(macCatalyst)
|
||||||
Link(destination: URL(string: UIApplication.openSettingsURLString)!) {
|
Link(destination: URL(string: UIApplication.openSettingsURLString)!) {
|
||||||
Label("settings.system", systemImage: "gear")
|
Label("settings.system", systemImage: "gear")
|
||||||
}
|
}
|
||||||
.tint(theme.labelColor)
|
.tint(theme.labelColor)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
.listRowBackground(theme.primaryBackgroundColor)
|
.listRowBackground(theme.primaryBackgroundColor)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue