Set local true as default param settings for Invidious
This commit is contained in:
parent
4cf2cb2f49
commit
8d70e4538b
|
@ -440,7 +440,7 @@ public class Utils {
|
|||
}
|
||||
|
||||
//Local
|
||||
String local = sharedpreferences.getString(context.getString(R.string.invidious_local_mode), "0");
|
||||
String local = sharedpreferences.getString(context.getString(R.string.invidious_local_mode), "local=true");
|
||||
if (local.compareTo("-1") == 0) { //Remove value
|
||||
newUrl = newUrl.replaceAll("&?local=(true|false)", "");
|
||||
} else if (local.compareTo("0") != 0) { //Change value
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
app:title="@string/invidious_listen_mode_title" />
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue="0"
|
||||
android:defaultValue="local=true"
|
||||
android:entries="@array/invidious_enable"
|
||||
android:entryValues="@array/invidious_local_values"
|
||||
app:iconSpaceReserved="false"
|
||||
|
|
Loading…
Reference in New Issue