mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-03 06:30:07 +02:00
Markdown support disabled by default
This commit is contained in:
parent
1a237e00c3
commit
9d1435c1b5
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue