Remove loggers and reorganize settings
This commit is contained in:
@@ -3,45 +3,40 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory android:title="@string/app_name">
|
||||
<Preference
|
||||
android:key="app_version"
|
||||
android:persistent="false"
|
||||
android:summary="@string/check_for_updates" />
|
||||
|
||||
<Preference
|
||||
android:key="app_version"
|
||||
android:persistent="false"
|
||||
android:summary="@string/check_for_updates" />
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="updates_unstable"
|
||||
android:summary="@string/allow_unstable_updates_summary"
|
||||
android:title="@string/allow_unstable_updates" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="updates_unstable"
|
||||
android:summary="@string/allow_unstable_updates_summary"
|
||||
android:title="@string/allow_unstable_updates" />
|
||||
<Preference
|
||||
android:key="about_help"
|
||||
android:persistent="false"
|
||||
android:summary="@string/url_user_manual"
|
||||
android:title="@string/user_manual"
|
||||
app:allowDividerAbove="true" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="logging"
|
||||
android:summary="@string/enable_logging_summary"
|
||||
android:title="@string/enable_logging"
|
||||
app:allowDividerAbove="true" />
|
||||
<Preference
|
||||
android:key="about_github"
|
||||
android:persistent="false"
|
||||
android:summary="@string/url_github"
|
||||
android:title="@string/source_code" />
|
||||
|
||||
<Preference
|
||||
android:dependency="logging"
|
||||
android:key="logs_share"
|
||||
android:title="@string/share_logs" />
|
||||
<Preference
|
||||
android:key="about_app_translation"
|
||||
android:persistent="false"
|
||||
android:summary="@string/url_weblate"
|
||||
android:title="@string/about_app_translation_summary" />
|
||||
|
||||
<Preference
|
||||
android:key="tracker_debug"
|
||||
android:persistent="false"
|
||||
android:summary="@string/tracker_debug_info_summary"
|
||||
android:title="@string/tracker_debug_info" />
|
||||
|
||||
<Preference
|
||||
android:key="about_app_translation"
|
||||
android:summary="@string/about_app_translation_summary"
|
||||
android:title="@string/about_app_translation"
|
||||
app:allowDividerAbove="true" />
|
||||
|
||||
<org.koitharu.kotatsu.settings.utils.AboutLinksPreference />
|
||||
|
||||
</PreferenceCategory>
|
||||
<Preference
|
||||
android:key="about_telegram"
|
||||
android:persistent="false"
|
||||
android:summary="@string/url_telegram_web"
|
||||
android:title="@string/telegram_group" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
<?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"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
@@ -59,22 +58,29 @@
|
||||
android:title="@string/download_new_chapters"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<Preference
|
||||
android:dependency="tracker_enabled"
|
||||
android:key="ignore_dose"
|
||||
android:persistent="false"
|
||||
android:summary="@string/disable_battery_optimization_summary"
|
||||
android:title="@string/disable_battery_optimization"
|
||||
app:allowDividerAbove="true"
|
||||
app:isPreferenceVisible="false"
|
||||
tools:isPrefrenceVisible="true" />
|
||||
<PreferenceCategory android:title="@string/debug">
|
||||
|
||||
<org.koitharu.kotatsu.settings.utils.LinksPreference
|
||||
android:icon="@drawable/ic_info_outline"
|
||||
android:key="track_warning"
|
||||
android:persistent="false"
|
||||
android:selectable="false"
|
||||
android:summary="@string/tracker_warning"
|
||||
app:allowDividerAbove="true" />
|
||||
<Preference
|
||||
android:dependency="tracker_enabled"
|
||||
android:key="tracker_debug"
|
||||
android:persistent="false"
|
||||
android:summary="@string/tracker_debug_info_summary"
|
||||
android:title="@string/tracker_debug_info" />
|
||||
|
||||
<Preference
|
||||
android:dependency="tracker_enabled"
|
||||
android:key="ignore_dose"
|
||||
android:persistent="false"
|
||||
android:summary="@string/disable_battery_optimization_summary"
|
||||
android:title="@string/disable_battery_optimization"
|
||||
app:isPreferenceVisible="false" />
|
||||
|
||||
<org.koitharu.kotatsu.settings.utils.LinksPreference
|
||||
android:icon="@drawable/ic_info_outline"
|
||||
android:key="track_warning"
|
||||
android:persistent="false"
|
||||
android:selectable="false"
|
||||
android:summary="@string/tracker_warning" />
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user