Merge pull request #2997 from Aga-C/fix-group-ordering

Fixed setting group ordering (#2996)
This commit is contained in:
Tibor Kaputa 2023-10-05 08:10:33 +02:00 committed by GitHub
commit 99a56c0534
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ class ChangeGroupingDialog(val activity: BaseSimpleActivity, val path: String =
else -> GROUP_BY_FOLDER 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 grouping = grouping or GROUP_DESCENDING
} }