More reliable Account Switcher

This commit is contained in:
Lumaa 2024-03-07 23:04:27 +01:00
parent 1175e328f7
commit 8b6f452921
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ extension SettingsView {
@State private var error: Bool = false @State private var error: Bool = false
private var currentAccount: Bool { private var currentAccount: Bool {
return AccountManager.shared.forceClient().server == app.server return AccountManager.shared.forceAccount().acct == app.accountName ?? ""
} }
init(app: AppAccount) { init(app: AppAccount) {