Checking for updates in settings

This commit is contained in:
Koitharu
2020-10-20 20:52:43 +03:00
parent 2135195f27
commit 6f3ae19345
10 changed files with 99 additions and 30 deletions

View File

@@ -71,7 +71,7 @@
app:iconSpaceReserved="false" />
<PreferenceCategory
android:title="@string/notifications"
android:title="@string/new_chapters"
app:allowDividerAbove="true"
app:iconSpaceReserved="false">
@@ -87,7 +87,7 @@
android:defaultValue="true"
android:key="@string/key_tracker_notifications"
android:summary="@string/show_notification_new_chapters"
android:title="@string/new_chapters"
android:title="@string/notifications"
app:iconSpaceReserved="false" />
<Preference
@@ -96,6 +96,12 @@
android:title="@string/notifications_settings"
app:iconSpaceReserved="false" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/about"
app:iconSpaceReserved="false">
<SwitchPreference
android:defaultValue="true"
android:key="@string/key_app_update_auto"
@@ -105,6 +111,12 @@
app:isPreferenceVisible="false"
tools:isPreferenceVisible="true" />
<Preference
android:key="@string/key_app_version"
android:persistent="false"
android:summary="@string/check_for_updates"
app:iconSpaceReserved="false" />
</PreferenceCategory>
</PreferenceScreen>