mirror of
https://github.com/yattee/yattee.git
synced 2026-10-31 00:47:17 +00:00
Withhold every account switcher until an account exists to offer
This commit is contained in:
@@ -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"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user