Enable iPad multi-column navigation by default
This commit is contained in:
parent
00c44c612f
commit
c43c951b92
|
@ -29,7 +29,11 @@ struct TrailingSwipeActionsKey: MigratablePreferenceKey {
|
|||
}
|
||||
|
||||
struct WidescreenNavigationModeKey: MigratablePreferenceKey {
|
||||
static var defaultValue: WidescreenNavigationMode { .splitScreen }
|
||||
static var defaultValue: WidescreenNavigationMode { .multiColumn }
|
||||
|
||||
static func shouldMigrate(oldValue: WidescreenNavigationMode) -> Bool {
|
||||
oldValue != .splitScreen
|
||||
}
|
||||
}
|
||||
|
||||
struct AttachmentBlurModeKey: MigratablePreferenceKey {
|
||||
|
|
|
@ -8,6 +8,5 @@
|
|||
import Foundation
|
||||
|
||||
public enum FeatureFlag: String, Codable {
|
||||
case iPadMultiColumn = "ipad-multi-column"
|
||||
case iPadBrowserNavigation = "ipad-browser-navigation"
|
||||
}
|
||||
|
|
|
@ -42,7 +42,6 @@ struct WidescreenNavigationPrefsView: View {
|
|||
Text("Split Screen")
|
||||
}
|
||||
|
||||
if preferences.hasFeatureFlag(.iPadMultiColumn) {
|
||||
Spacer(minLength: 32)
|
||||
|
||||
OptionView(
|
||||
|
@ -53,7 +52,6 @@ struct WidescreenNavigationPrefsView: View {
|
|||
) {
|
||||
Text("Multi-Column")
|
||||
}
|
||||
}
|
||||
|
||||
Spacer()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue