settings cache

This commit is contained in:
Thomas 2022-10-04 10:13:11 +02:00
parent 891cef5f67
commit a93bfd6389
2 changed files with 11 additions and 0 deletions

View File

@ -1451,4 +1451,6 @@
<string name="set_timelines_in_a_list_title">Timelines in a list</string>
<string name="set_timelines_in_a_list">When enabled, all pinned timelines will be displayed in a drop-down menu</string>
<string name="set_display_counter">Display counters for messages</string>
<string name="set_use_cache">Use cache</string>
<string name="set_use_cache_indication">Timelines will be cached so the application will be faster.</string>
</resources>

View File

@ -28,6 +28,15 @@
app:summary="@string/set_unfollow_validation"
app:title="@string/set_unfollow_validation_title" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="@string/SET_USE_CACHE"
app:singleLineTitle="false"
app:summary="@string/set_use_cache_indication"
app:title="@string/set_use_cache" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"