From 6ef2f4a989f0be62a51b2547082538d2191a1838 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Fri, 2 Jun 2023 19:42:44 -0500 Subject: [PATCH] Change default sort ordering value --- app/src/main/java/org/tasks/preferences/Preferences.kt | 2 +- app/src/main/java/org/tasks/widget/WidgetPreferences.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/tasks/preferences/Preferences.kt b/app/src/main/java/org/tasks/preferences/Preferences.kt index ff1de16bf..ff905cae3 100644 --- a/app/src/main/java/org/tasks/preferences/Preferences.kt +++ b/app/src/main/java/org/tasks/preferences/Preferences.kt @@ -499,7 +499,7 @@ class Preferences @JvmOverloads constructor( } override var sortAscending: Boolean - get() = getBoolean(R.string.p_sort_ascending, false) + get() = getBoolean(R.string.p_sort_ascending, true) set(value) { setBoolean(R.string.p_sort_ascending, value) } override var groupAscending: Boolean diff --git a/app/src/main/java/org/tasks/widget/WidgetPreferences.java b/app/src/main/java/org/tasks/widget/WidgetPreferences.java index d4a735fcd..8a03c21ef 100644 --- a/app/src/main/java/org/tasks/widget/WidgetPreferences.java +++ b/app/src/main/java/org/tasks/widget/WidgetPreferences.java @@ -269,7 +269,7 @@ public class WidgetPreferences implements QueryPreferences { @Override public boolean getSortAscending() { - return getBoolean(R.string.p_widget_sort_ascending, false); + return getBoolean(R.string.p_widget_sort_ascending, true); } @Override