Markdown set to off by default (Fixes #412)

This commit is contained in:
Benoit Marty 2019-10-29 16:22:12 +01:00
parent 6567c5e6c7
commit 7496a88dcd
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ Improvements 🙌:
-
Other changes:
-
- Markdown set to off by default (#412)
Bugfix 🐛:
- Passphrase does not match (Export room keys) (#644)

View file

@ -576,7 +576,7 @@ class VectorPreferences @Inject constructor(private val context: Context) {
* @return true if the markdown is enabled
*/
fun isMarkdownEnabled(): Boolean {
return defaultPrefs.getBoolean(SETTINGS_ENABLE_MARKDOWN_KEY, true)
return defaultPrefs.getBoolean(SETTINGS_ENABLE_MARKDOWN_KEY, false)
}
/**

View file

@ -39,7 +39,7 @@
android:title="@string/settings_send_typing_notifs" />
<im.vector.riotx.core.preference.VectorSwitchPreference
android:defaultValue="true"
android:defaultValue="false"
android:key="SETTINGS_ENABLE_MARKDOWN_KEY"
android:summary="@string/settings_send_markdown_summary"
android:title="@string/settings_send_markdown" />