Hide redactions by default

Change-Id: I498ca35464f7f42b70e21ca451b94702aefee8d6
This commit is contained in:
SpiritCroc 2020-11-02 09:58:59 +01:00
parent d538ee4dcb
commit 12e97fbed2
2 changed files with 2 additions and 2 deletions

View file

@ -690,7 +690,7 @@ class VectorPreferences @Inject constructor(private val context: Context) {
* @return true if the redacted should be shown * @return true if the redacted should be shown
*/ */
fun showRedactedMessages(): Boolean { fun showRedactedMessages(): Boolean {
return defaultPrefs.getBoolean(SETTINGS_SHOW_REDACTED_KEY, true) return defaultPrefs.getBoolean(SETTINGS_SHOW_REDACTED_KEY, false)
} }
/** /**

View file

@ -123,7 +123,7 @@
android:title="@string/settings_show_read_receipts" /> android:title="@string/settings_show_read_receipts" />
<im.vector.app.core.preference.VectorSwitchPreference <im.vector.app.core.preference.VectorSwitchPreference
android:defaultValue="true" android:defaultValue="false"
android:key="SETTINGS_SHOW_REDACTED_KEY" android:key="SETTINGS_SHOW_REDACTED_KEY"
android:summary="@string/settings_show_redacted_summary" android:summary="@string/settings_show_redacted_summary"
android:title="@string/settings_show_redacted" /> android:title="@string/settings_show_redacted" />