Allow popover settings everywhere

This commit is contained in:
Thomas Ricouard 2023-12-17 09:21:09 +01:00
parent f9da958047
commit 4985e69200

View File

@ -217,9 +217,7 @@ struct DisplaySettingsView: View {
.font(.scaledBody) .font(.scaledBody)
} }
} }
#if targetEnvironment(macCatalyst)
Toggle("settings.display.show-account-popover", isOn: $userPreferences.showAccountPopover) Toggle("settings.display.show-account-popover", isOn: $userPreferences.showAccountPopover)
#endif
} }
.listRowBackground(theme.primaryBackgroundColor) .listRowBackground(theme.primaryBackgroundColor)
} }