forked from shadowfacts/Tusker
Remove navigation mode preference feature flag
This commit is contained in:
parent
16029dc161
commit
db6ba0c62c
|
@ -436,7 +436,6 @@ extension Preferences {
|
|||
public enum FeatureFlag: String, Codable {
|
||||
case iPadMultiColumn = "ipad-multi-column"
|
||||
case iPadBrowserNavigation = "ipad-browser-navigation"
|
||||
case iPadNavigationMode = "ipad-navigation-mode"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -90,8 +90,7 @@ struct AppearancePrefsView : View {
|
|||
|
||||
@ViewBuilder
|
||||
private var interfaceSection: some View {
|
||||
if preferences.hasFeatureFlag(.iPadNavigationMode),
|
||||
UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .mac {
|
||||
if UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .mac {
|
||||
Section(header: Text("Interface")) {
|
||||
WidescreenNavigationPrefsView()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue