Separate sort order unified folders

This commit is contained in:
M66B
2021-11-22 08:57:17 +01:00
parent f2daedcf7d
commit edb7ab16ac
2 changed files with 12 additions and 1 deletions

View File

@@ -6214,7 +6214,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
static String getSortOrder(Context context, AdapterMessage.ViewType viewType, String type) {
return (viewType == AdapterMessage.ViewType.THREAD ? "ascending_thread" : "ascending_list");
if (viewType == AdapterMessage.ViewType.THREAD)
return "ascending_thread";
else if (viewType == AdapterMessage.ViewType.UNIFIED)
return "ascending_unified";
else
return "ascending_list";
}
static String getFilter(Context context, String name, AdapterMessage.ViewType viewType, String type) {