Disable trust toggle completely for INACTIVE keys
This commit is contained in:
parent
456d4c8b23
commit
4c1c2892c7
|
@ -680,6 +680,7 @@ public abstract class XmppActivity extends Activity {
|
||||||
keyType.setTextColor(getSecondaryTextColor());
|
keyType.setTextColor(getSecondaryTextColor());
|
||||||
break;
|
break;
|
||||||
case INACTIVE:
|
case INACTIVE:
|
||||||
|
trustToggle.setOnClickListener(null);
|
||||||
trustToggle.setChecked(true, false);
|
trustToggle.setChecked(true, false);
|
||||||
trustToggle.setEnabled(false);
|
trustToggle.setEnabled(false);
|
||||||
key.setTextColor(getTertiaryTextColor());
|
key.setTextColor(getTertiaryTextColor());
|
||||||
|
|
Loading…
Reference in New Issue