diff --git a/app/src/main/java/org/mian/gitnex/adapters/UserAccountsListDialogAdapter.java b/app/src/main/java/org/mian/gitnex/adapters/UserAccountsListDialogAdapter.java index af553c46..853bfed2 100644 --- a/app/src/main/java/org/mian/gitnex/adapters/UserAccountsListDialogAdapter.java +++ b/app/src/main/java/org/mian/gitnex/adapters/UserAccountsListDialogAdapter.java @@ -62,6 +62,9 @@ public class UserAccountsListDialogAdapter extends ArrayAdapter { if(tinyDB.getInt("currentActiveAccountId") == currentItem.getAccountId()) { activeAccount.setVisibility(View.VISIBLE); } + else { + activeAccount.setVisibility(View.GONE); + } PicassoService .getInstance(mCtx).get().load(url + "img/favicon.png").placeholder(R.drawable.loader_animated).transform(new RoundedTransformation(8, 0)).resize(120, 120).centerCrop().into(profileImage);