fix(translate-button): fix button opacity when loading translation

cc: @sk22
This commit is contained in:
LucasGGamerM 2023-09-30 14:25:41 -03:00
parent d0c5a2ed2e
commit 8a6c9881e4
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ public class TextStatusDisplayItem extends StatusDisplayItem{
}else{ // LOADING
translationProgress.setVisibility(View.VISIBLE);
translationButton.setEnabled(false);
translationButton.startAnimation(opacityIn);
translationButton.setAlpha(0.5f);
translationInfo.setVisibility(View.INVISIBLE);
UiUtils.beginLayoutTransition((ViewGroup) translationButton.getParent());
}