Enable "Prevent accidental call" by default
Change-Id: Ic1eb704bfb3c17add56c21ff6ac76c1968753ff1
This commit is contained in:
parent
8a06ad5c89
commit
c3a20b5192
|
@ -672,7 +672,7 @@ class VectorPreferences @Inject constructor(private val context: Context) {
|
|||
* Tells if a confirmation dialog should be displayed before staring a call
|
||||
*/
|
||||
fun preventAccidentalCall(): Boolean {
|
||||
return defaultPrefs.getBoolean(SETTINGS_CALL_PREVENT_ACCIDENTAL_CALL_KEY, false)
|
||||
return defaultPrefs.getBoolean(SETTINGS_CALL_PREVENT_ACCIDENTAL_CALL_KEY, true)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<im.vector.app.core.preference.VectorPreferenceCategory android:title="@string/settings_call_category">
|
||||
|
||||
<im.vector.app.core.preference.VectorSwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="true"
|
||||
android:key="SETTINGS_CALL_PREVENT_ACCIDENTAL_CALL_KEY"
|
||||
android:summary="@string/settings_call_show_confirmation_dialog_summary"
|
||||
android:title="@string/settings_call_show_confirmation_dialog_title" />
|
||||
|
|
Loading…
Reference in New Issue