mirror of
https://github.com/antebudimir/tempus.git
synced 2026-04-15 16:27:26 +00:00
Default the search sort setting to former sorting behavior.
This commit is contained in:
parent
b46fea6890
commit
df2bf43492
2 changed files with 2 additions and 2 deletions
|
|
@ -678,6 +678,6 @@ object Preferences {
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun isSearchSortingChronologicallyEnabled(): Boolean {
|
fun isSearchSortingChronologicallyEnabled(): Boolean {
|
||||||
return App.getInstance().preferences.getBoolean(SORT_SEARCH_CHRONOLOGICALLY, true)
|
return App.getInstance().preferences.getBoolean(SORT_SEARCH_CHRONOLOGICALLY, false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -124,7 +124,7 @@
|
||||||
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:title="@string/search_sort_title"
|
android:title="@string/search_sort_title"
|
||||||
android:defaultValue="true"
|
android:defaultValue="false"
|
||||||
android:summary="@string/search_sort_summary"
|
android:summary="@string/search_sort_summary"
|
||||||
android:key="sort_search_chronologically" />
|
android:key="sort_search_chronologically" />
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue