mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
Fix active account selector (#687)
Merge branch 'master' into fix-active-account-selector Merge branch 'master' of codeberg.org:gitnex/GitNex into master Fix active account selector Merge branch 'master' of codeberg.org:gitnex/GitNex into master Merge branch 'master' of codeberg.org:gitnex/GitNex into master endline Co-authored-by: M M Arif <mmarif@swatian.com> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/687
This commit is contained in:
parent
32f3080283
commit
0c92eb3fa2
@ -62,6 +62,9 @@ public class UserAccountsListDialogAdapter extends ArrayAdapter<UserAccount> {
|
|||||||
if(tinyDB.getInt("currentActiveAccountId") == currentItem.getAccountId()) {
|
if(tinyDB.getInt("currentActiveAccountId") == currentItem.getAccountId()) {
|
||||||
activeAccount.setVisibility(View.VISIBLE);
|
activeAccount.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
activeAccount.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
|
|
||||||
PicassoService
|
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);
|
.getInstance(mCtx).get().load(url + "img/favicon.png").placeholder(R.drawable.loader_animated).transform(new RoundedTransformation(8, 0)).resize(120, 120).centerCrop().into(profileImage);
|
||||||
|
Loading…
Reference in New Issue
Block a user