fix(account-card): fix account card progress bar

This commit is contained in:
LucasGGamerM 2023-10-04 08:26:47 -03:00
parent d07ec7f1af
commit 6f981a1c7d
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ public class AccountCardStatusDisplayItem extends StatusDisplayItem{
private void setActionProgressVisible(boolean visible){
actionButton.setTextVisible(!visible);
actionProgress.setVisibility(visible ? View.VISIBLE : View.GONE);
if(visible)
actionProgress.setIndeterminateTintList(actionButton.getTextColors());
actionButton.setClickable(!visible);
}