diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-04 21:44:16 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-04 21:44:16 +0100 |
commit | 4fd8620c6cc1ca88c4496671e6e59c40aba93019 (patch) | |
tree | 1e5063ec85002960036e39071ae210903167b7d5 /src/de/gultsch/chat/ui/EditAccount.java | |
parent | 0d80d88736926d06e97f22f9ecc63d4fb696751c (diff) |
allow to temporarily disable accounts
Diffstat (limited to 'src/de/gultsch/chat/ui/EditAccount.java')
-rw-r--r-- | src/de/gultsch/chat/ui/EditAccount.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/gultsch/chat/ui/EditAccount.java b/src/de/gultsch/chat/ui/EditAccount.java index 7cb48472..f8d70981 100644 --- a/src/de/gultsch/chat/ui/EditAccount.java +++ b/src/de/gultsch/chat/ui/EditAccount.java @@ -92,7 +92,7 @@ public class EditAccount extends DialogFragment { usernameText.setText(account.getUsername()); serverText.setText(account.getServer()); okButtonDesc = "Edit"; - builder.setNegativeButton("Delete Account", new OnClickListener() { + /*builder.setNegativeButton("Delete Account", new OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { @@ -112,7 +112,7 @@ public class EditAccount extends DialogFragment { builder.setNegativeButton("Cancel",null); builder.create().show(); } - }); + });*/ } else { builder.setTitle("Add account"); okButtonDesc = "Add"; |