add missing else to show the availability of httpupload correctly (#3048)

This commit is contained in:
Christian Schneppe 2018-05-27 10:49:26 +02:00 committed by Daniel Gultsch
parent 1854e37e7a
commit be3955ba8f
1 changed files with 1 additions and 1 deletions

View File

@ -1022,7 +1022,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 {