From 8014b1296d9545e691995b2fe89aa953fb875edb Mon Sep 17 00:00:00 2001 From: Levi Bard Date: Fri, 18 Jan 2019 18:08:11 +0100 Subject: [PATCH] Ensure that the right account is shown as selected after performing "Open as". #992 (#996) --- app/src/main/java/com/keylesspalace/tusky/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/MainActivity.java b/app/src/main/java/com/keylesspalace/tusky/MainActivity.java index e4a7b32b..19ef6023 100644 --- a/app/src/main/java/com/keylesspalace/tusky/MainActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/MainActivity.java @@ -549,7 +549,7 @@ public final class MainActivity extends BottomSheetActivity implements ActionBut } headerResult.clear(); headerResult.setProfiles(profiles); - + headerResult.setActiveProfile(accountManager.getActiveAccount().getId()); } private void onFetchUserInfoFailure(Exception exception) {