Add enable toggle to source settings

This commit is contained in:
Koitharu
2024-03-15 11:34:10 +02:00
parent b090652007
commit 83bd390c2a
9 changed files with 43 additions and 4 deletions

View File

@@ -3,6 +3,14 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="enable"
android:layout="@layout/preference_toggle_header"
android:order="0"
android:persistent="false"
android:title="@string/enable_source" />
<Preference
android:key="auth"
android:order="100"