From 8b6f452921135db4cd73e8625e3ee6da55c8191e Mon Sep 17 00:00:00 2001 From: Lumaa Date: Thu, 7 Mar 2024 23:04:27 +0100 Subject: [PATCH] More reliable Account Switcher --- Threaded/Views/Settings/SettingsView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Threaded/Views/Settings/SettingsView.swift b/Threaded/Views/Settings/SettingsView.swift index 4862b8a..11dfca0 100644 --- a/Threaded/Views/Settings/SettingsView.swift +++ b/Threaded/Views/Settings/SettingsView.swift @@ -125,7 +125,7 @@ extension SettingsView { @State private var error: Bool = false private var currentAccount: Bool { - return AccountManager.shared.forceClient().server == app.server + return AccountManager.shared.forceAccount().acct == app.accountName ?? "" } init(app: AppAccount) {