mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 12:39:58 +01:00
parent
309f5d30c2
commit
50fdb7c49a
@ -31,6 +31,7 @@ import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Checkable;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
@ -319,16 +320,16 @@ public class SettingsController extends BaseController {
|
||||
dispose(null);
|
||||
getCurrentUser();
|
||||
|
||||
if (shouldVibrateSwitchPreference.getVisibility() == View.VISIBLE) {
|
||||
shouldVibrateSwitchPreference.setActivated(appPreferences.getShouldVibrateSetting());
|
||||
}
|
||||
|
||||
if (!TextUtils.isEmpty(currentUser.getClientCertificate())) {
|
||||
certificateSetup.setTitle(R.string.nc_client_cert_change);
|
||||
} else {
|
||||
certificateSetup.setTitle(R.string.nc_client_cert_setup);
|
||||
}
|
||||
|
||||
if (shouldVibrateSwitchPreference.getVisibility() == View.VISIBLE) {
|
||||
((Checkable)shouldVibrateSwitchPreference.findViewById(R.id.mp_checkable)).setChecked(appPreferences.getShouldVibrateSetting());
|
||||
}
|
||||
|
||||
String ringtoneName = "";
|
||||
RingtoneSettings ringtoneSettings;
|
||||
if (!TextUtils.isEmpty(appPreferences.getCallRingtoneUri())) {
|
||||
|
@ -135,7 +135,7 @@
|
||||
android:id="@+id/settings_always_vibrate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
apc:mp_default_value="true"
|
||||
apc:mp_default_value="@bool/value_true"
|
||||
apc:mp_key="@string/nc_settings_vibrate_key"
|
||||
apc:mp_summary="@string/nc_settings_vibrate_desc"
|
||||
apc:mp_title="@string/nc_settings_vibrate" />
|
||||
|
Loading…
Reference in New Issue
Block a user