diff --git a/app/src/main/java/com/keylesspalace/tusky/db/AccountManager.kt b/app/src/main/java/com/keylesspalace/tusky/db/AccountManager.kt index e0f09b652..378d27a08 100644 --- a/app/src/main/java/com/keylesspalace/tusky/db/AccountManager.kt +++ b/app/src/main/java/com/keylesspalace/tusky/db/AccountManager.kt @@ -137,7 +137,7 @@ class AccountManager { activeAccount?.let{ Log.d(TAG, "setActiveAccount: saving account with id "+it.id) it.isActive = false - accountDao.insertOrReplace(it) + saveAccount(it) } activeAccount = accounts.find { acc ->