aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/XmppActivity.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java
index 52c2e4f4..857a1dc4 100644
--- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java
@@ -621,9 +621,6 @@ public abstract class XmppActivity extends Activity {
(isChecked) ? SQLiteAxolotlStore.Trust.TRUSTED :
SQLiteAxolotlStore.Trust.UNTRUSTED);
}
- refreshUi();
- xmppConnectionService.updateAccountUi();
- xmppConnectionService.updateConversationUi();
}
},
new View.OnClickListener() {
@@ -631,9 +628,7 @@ public abstract class XmppActivity extends Activity {
public void onClick(View v) {
account.getAxolotlService().setFingerprintTrust(fingerprint,
SQLiteAxolotlStore.Trust.UNTRUSTED);
- refreshUi();
- xmppConnectionService.updateAccountUi();
- xmppConnectionService.updateConversationUi();
+ v.setEnabled(true);
}
}