More reliable Account Switcher
This commit is contained in:
parent
1175e328f7
commit
8b6f452921
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue