Show account/identity dimmed when disabled

This commit is contained in:
M66B
2022-01-10 19:41:10 +01:00
parent 4a5d6be29b
commit c6fe5fcaf9
4 changed files with 10 additions and 6 deletions

View File

@@ -129,6 +129,7 @@ public class AdapterIdentity extends RecyclerView.Adapter<AdapterIdentity.ViewHo
}
private void bindTo(TupleIdentityEx identity) {
view.setAlpha(identity.synchronize && identity.accountSynchronize ? 1.0f : Helper.LOW_LIGHT);
vwColor.setBackgroundColor(identity.color == null ? Color.TRANSPARENT : identity.color);
vwColor.setVisibility(ActivityBilling.isPro(context) ? View.VISIBLE : View.INVISIBLE);