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());
|
||||
break;
|
||||
case INACTIVE:
|
||||
trustToggle.setOnClickListener(null);
|
||||
trustToggle.setChecked(true, false);
|
||||
trustToggle.setEnabled(false);
|
||||
key.setTextColor(getTertiaryTextColor());
|
||||
|
|
Loading…
Reference in New Issue