aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-26 23:42:08 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-26 23:42:08 +0200
commit0444ee9d4a90e9a2fc2c1c377438e93b6c0dfb97 (patch)
tree4588f4776d537fbe3bf1b15213e302b0caa8e24d /src/main/java/de/pixart
parentce98d4090857ce1461b0f68a71e43afd7c4094e1 (diff)
add missing else to show the availability of httpupload correctly
Diffstat (limited to 'src/main/java/de/pixart')
-rw-r--r--src/main/java/de/pixart/messenger/ui/EditAccountActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
index 8b79ba09f..28c0e1146 100644
--- a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
@@ -1018,8 +1018,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
}
if (features.httpUpload(0)) {
this.binding.serverInfoHttpUpload.setText(R.string.server_info_available);
- }
- if (features.p1S3FileTransfer()) {
+ } else if (features.p1S3FileTransfer()) {
this.binding.serverInfoHttpUploadDescription.setText(R.string.p1_s3_filetransfer);
this.binding.serverInfoHttpUpload.setText(R.string.server_info_available);
} else {