mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Trying to fix a crash in settings (again)
This commit is contained in:
		@@ -11,13 +11,16 @@
 | 
			
		||||
            android:defaultValue="true"
 | 
			
		||||
            android:key="acra.enable"
 | 
			
		||||
            android:summary="@string/pref_acra_summary"
 | 
			
		||||
            android:title="@string/pref_enable_acra"
 | 
			
		||||
            app:showText="false"/>
 | 
			
		||||
            android:textOff="@string/pref_enable_acra"
 | 
			
		||||
            android:textOn="@string/pref_enable_acra"
 | 
			
		||||
            android:title="@string/pref_enable_acra" />
 | 
			
		||||
 | 
			
		||||
        <SwitchPreference
 | 
			
		||||
            android:defaultValue="false"
 | 
			
		||||
            android:key="@string/pref_enable_automatic_updates_key"
 | 
			
		||||
            android:summary="@string/pref_enable_automatic_updates_summary"
 | 
			
		||||
            android:textOff="@string/pref_enable_automatic_updates"
 | 
			
		||||
            android:textOn="@string/pref_enable_automatic_updates"
 | 
			
		||||
            android:title="@string/pref_enable_automatic_updates"
 | 
			
		||||
            app:showText="false"/>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:app="http://schemas.android.com/apk/res-auto">
 | 
			
		||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
 | 
			
		||||
 | 
			
		||||
    <PreferenceScreen
 | 
			
		||||
        android:key="downloads_screen"
 | 
			
		||||
@@ -14,8 +13,9 @@
 | 
			
		||||
        <SwitchPreference
 | 
			
		||||
            android:defaultValue="true"
 | 
			
		||||
            android:key="@string/pref_download_only_over_wifi_key"
 | 
			
		||||
            android:title="@string/pref_download_only_over_wifi"
 | 
			
		||||
            app:showText="false"/>
 | 
			
		||||
            android:textOff="@string/pref_download_only_over_wifi"
 | 
			
		||||
            android:textOn="@string/pref_download_only_over_wifi"
 | 
			
		||||
            android:title="@string/pref_download_only_over_wifi" />
 | 
			
		||||
 | 
			
		||||
        <eu.kanade.tachiyomi.widget.preference.IntListPreference
 | 
			
		||||
            android:defaultValue="1"
 | 
			
		||||
@@ -32,8 +32,9 @@
 | 
			
		||||
        <SwitchPreference
 | 
			
		||||
            android:defaultValue="false"
 | 
			
		||||
            android:key="@string/pref_remove_after_marked_as_read_key"
 | 
			
		||||
            android:title="@string/pref_remove_after_marked_as_read"
 | 
			
		||||
            app:showText="false"/>
 | 
			
		||||
            android:textOff="@string/pref_remove_after_marked_as_read"
 | 
			
		||||
            android:textOn="@string/pref_remove_after_marked_as_read"
 | 
			
		||||
            android:title="@string/pref_remove_after_marked_as_read" />
 | 
			
		||||
 | 
			
		||||
        <eu.kanade.tachiyomi.widget.preference.IntListPreference
 | 
			
		||||
            android:defaultValue="-1"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:app="http://schemas.android.com/apk/res-auto">
 | 
			
		||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
 | 
			
		||||
 | 
			
		||||
    <PreferenceScreen
 | 
			
		||||
        android:key="general_screen"
 | 
			
		||||
@@ -51,8 +50,9 @@
 | 
			
		||||
        <SwitchPreference
 | 
			
		||||
            android:defaultValue="false"
 | 
			
		||||
            android:key="@string/pref_update_only_non_completed_key"
 | 
			
		||||
            android:title="@string/pref_update_only_non_completed"
 | 
			
		||||
            app:showText="false"/>
 | 
			
		||||
            android:textOff="@string/pref_update_only_non_completed"
 | 
			
		||||
            android:textOn="@string/pref_update_only_non_completed"
 | 
			
		||||
            android:title="@string/pref_update_only_non_completed" />
 | 
			
		||||
 | 
			
		||||
    </PreferenceScreen>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:app="http://schemas.android.com/apk/res-auto">
 | 
			
		||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
 | 
			
		||||
 | 
			
		||||
    <PreferenceScreen
 | 
			
		||||
        android:key="reader_screen"
 | 
			
		||||
@@ -56,43 +55,49 @@
 | 
			
		||||
            android:summary="%s" />
 | 
			
		||||
 | 
			
		||||
        <SwitchPreference
 | 
			
		||||
            android:textOff="@string/pref_fullscreen"
 | 
			
		||||
            android:textOn="@string/pref_fullscreen"
 | 
			
		||||
            android:title="@string/pref_fullscreen"
 | 
			
		||||
            android:key="@string/pref_fullscreen_key"
 | 
			
		||||
            android:defaultValue="true"
 | 
			
		||||
            app:showText="false"/>
 | 
			
		||||
            android:defaultValue="true" />
 | 
			
		||||
 | 
			
		||||
        <SwitchPreference
 | 
			
		||||
            android:textOff="@string/pref_enable_transitions"
 | 
			
		||||
            android:textOn="@string/pref_enable_transitions"
 | 
			
		||||
            android:title="@string/pref_enable_transitions"
 | 
			
		||||
            android:key="@string/pref_enable_transitions_key"
 | 
			
		||||
            android:defaultValue="true"
 | 
			
		||||
            app:showText="false"/>
 | 
			
		||||
            android:defaultValue="true" />
 | 
			
		||||
 | 
			
		||||
        <SwitchPreference
 | 
			
		||||
            android:textOff="@string/pref_show_page_number"
 | 
			
		||||
            android:textOn="@string/pref_show_page_number"
 | 
			
		||||
            android:title="@string/pref_show_page_number"
 | 
			
		||||
            android:key="@string/pref_show_page_number_key"
 | 
			
		||||
            android:defaultValue="true"
 | 
			
		||||
            app:showText="false"/>
 | 
			
		||||
            android:defaultValue="true" />
 | 
			
		||||
 | 
			
		||||
        <SwitchPreference
 | 
			
		||||
            android:textOff="@string/pref_keep_screen_on"
 | 
			
		||||
            android:textOn="@string/pref_keep_screen_on"
 | 
			
		||||
            android:title="@string/pref_keep_screen_on"
 | 
			
		||||
            android:key="@string/pref_keep_screen_on_key"
 | 
			
		||||
            android:defaultValue="true"
 | 
			
		||||
            app:showText="false"/>
 | 
			
		||||
            android:defaultValue="true" />
 | 
			
		||||
 | 
			
		||||
        <PreferenceCategory
 | 
			
		||||
            android:title="@string/pref_reader_navigation">
 | 
			
		||||
 | 
			
		||||
            <SwitchPreference
 | 
			
		||||
                android:textOff="@string/pref_read_with_tapping"
 | 
			
		||||
                android:textOn="@string/pref_read_with_tapping"
 | 
			
		||||
                android:title="@string/pref_read_with_tapping"
 | 
			
		||||
                android:key="@string/pref_read_with_tapping_key"
 | 
			
		||||
                android:defaultValue="true"
 | 
			
		||||
                app:showText="false"/>
 | 
			
		||||
                android:defaultValue="true" />
 | 
			
		||||
 | 
			
		||||
            <SwitchPreference
 | 
			
		||||
                android:textOff="@string/pref_read_with_volume_keys"
 | 
			
		||||
                android:textOn="@string/pref_read_with_volume_keys"
 | 
			
		||||
                android:title="@string/pref_read_with_volume_keys"
 | 
			
		||||
                android:key="@string/pref_read_with_volume_keys_key"
 | 
			
		||||
                android:defaultValue="false"
 | 
			
		||||
                app:showText="false"/>
 | 
			
		||||
                android:defaultValue="false" />
 | 
			
		||||
 | 
			
		||||
        </PreferenceCategory>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user