Enable "Prevent accidental call" by default

Change-Id: Ic1eb704bfb3c17add56c21ff6ac76c1968753ff1
This commit is contained in:
SpiritCroc 2020-11-22 09:05:26 +01:00
parent 8a06ad5c89
commit c3a20b5192
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}
/**

View File

@ -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" />