Withhold every account switcher until an account exists to offer

This commit is contained in:
Arkadiusz Fal
2026-09-13 20:16:14 +02:00
parent 5136b79f49
commit 69d22cdc98
8 changed files with 55 additions and 18 deletions

View File

@@ -134,10 +134,12 @@ struct SubscriptionsSettingsView: View {
@ViewBuilder
private var accountSection: some View {
Section {
DataContextSwitcherSettingsRow()
} footer: {
Text(String(localized: "settings.subscriptions.account.footer"))
if DataContextSwitcherVisibility.showsSwitcher(in: appEnvironment) {
Section {
DataContextSwitcherSettingsRow()
} footer: {
Text(String(localized: "settings.subscriptions.account.footer"))
}
}
}