Markdown support disabled by default

Media3
Thomas 10 months ago
parent 1a237e00c3
commit 9d1435c1b5

@ -155,7 +155,7 @@ public class SpannableHelper {
} else { } else {
initialContent = new SpannableString(text); initialContent = new SpannableString(text);
} }
boolean markdownSupport = sharedpreferences.getBoolean(context.getString(R.string.SET_MARKDOWN_SUPPORT), true); boolean markdownSupport = sharedpreferences.getBoolean(context.getString(R.string.SET_MARKDOWN_SUPPORT), false);
//Get all links //Get all links
SpannableStringBuilder content; SpannableStringBuilder content;
if (markdownSupport && convertMarkdown) { if (markdownSupport && convertMarkdown) {

@ -59,7 +59,7 @@
app:title="@string/timeline_scrollbar" /> app:title="@string/timeline_scrollbar" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
android:defaultValue="true" android:defaultValue="false"
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:key="@string/SET_MARKDOWN_SUPPORT" app:key="@string/SET_MARKDOWN_SUPPORT"
app:singleLineTitle="false" app:singleLineTitle="false"

Loading…
Cancel
Save