Hide settings link on macos (#1681)
This commit is contained in:
parent
cc03465956
commit
534b098ca6
|
@ -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 New Issue