diff options
author | Andreas Straub <andy@strb.org> | 2015-07-22 00:53:18 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-07-22 00:53:54 +0200 |
commit | 4c1c2892c772fa4622195c81ad35c9e51ab02f35 (patch) | |
tree | 02e54496a2cd5ee6af922eeb9d237e53dd6e788e /src/main/java | |
parent | 456d4c8b23dcf968322841c99d80c79ccda6571b (diff) |
Disable trust toggle completely for INACTIVE keys
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index 4cb6841b..83568510 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -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()); |