diff --git a/IceCubesApp/App/Tabs/Settings/SettingsTab.swift b/IceCubesApp/App/Tabs/Settings/SettingsTab.swift index 1a4279d8..213efc11 100644 --- a/IceCubesApp/App/Tabs/Settings/SettingsTab.swift +++ b/IceCubesApp/App/Tabs/Settings/SettingsTab.swift @@ -53,7 +53,7 @@ struct SettingsTabs: View { .navigationBarTitleDisplayMode(.inline) .toolbarBackground(theme.primaryBackgroundColor.opacity(0.50), for: .navigationBar) .toolbar { - if UIDevice.current.userInterfaceIdiom == .phone || isModal { + if isModal { ToolbarItem { Button { dismiss() @@ -62,7 +62,7 @@ struct SettingsTabs: View { } } } - if UIDevice.current.userInterfaceIdiom == .pad, !preferences.showiPadSecondaryColumn { + if UIDevice.current.userInterfaceIdiom == .pad, !preferences.showiPadSecondaryColumn, !isModal { SecondaryColumnToolbarItem() } }