mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
Fix settings client cert text
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
c8f3467880
commit
47b5c66f8f
@ -230,10 +230,6 @@ public class SettingsController extends BaseController {
|
||||
.popChangeHandler(new VerticalChangeHandler()));
|
||||
});
|
||||
|
||||
if (userEntity.getClientCertificate() != null) {
|
||||
certificateSetup.setTitle(R.string.nc_client_cert_change);
|
||||
}
|
||||
|
||||
|
||||
String host = null;
|
||||
int port = -1;
|
||||
@ -281,6 +277,12 @@ public class SettingsController extends BaseController {
|
||||
dispose(null);
|
||||
userEntity = userUtils.getCurrentUser();
|
||||
|
||||
if (!TextUtils.isEmpty(userEntity.getClientCertificate())) {
|
||||
certificateSetup.setTitle(R.string.nc_client_cert_change);
|
||||
} else {
|
||||
certificateSetup.setTitle(R.string.nc_client_cert_setup);
|
||||
}
|
||||
|
||||
if ("No proxy".equals(appPreferences.getProxyType()) || appPreferences.getProxyType() == null) {
|
||||
hideProxySettings();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user