From c3691c61d924e920c52c5a94fefede47ec86ccf4 Mon Sep 17 00:00:00 2001 From: Agnieszka C <85929121+Aga-C@users.noreply.github.com> Date: Thu, 5 Oct 2023 07:47:00 +0200 Subject: [PATCH] Fixed setting group ordering (#2996) --- .../gallery/pro/dialogs/ChangeGroupingDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ChangeGroupingDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ChangeGroupingDialog.kt index 922046464..e76fb6bde 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ChangeGroupingDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ChangeGroupingDialog.kt @@ -72,7 +72,7 @@ class ChangeGroupingDialog(val activity: BaseSimpleActivity, val path: String = else -> GROUP_BY_FOLDER } - if (binding.groupingDialogRadioGrouping.checkedRadioButtonId == R.id.grouping_dialog_radio_descending) { + if (binding.groupingDialogRadioOrder.checkedRadioButtonId == R.id.grouping_dialog_radio_descending) { grouping = grouping or GROUP_DESCENDING }