mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-18 06:17:59 +01:00
hide ascending/descending at random sorting
This commit is contained in:
parent
961725affc
commit
f9efbc6220
1 changed files with 3 additions and 3 deletions
|
@ -56,9 +56,9 @@ class ChangeSortingDialog(
|
||||||
view.sorting_dialog_numeric_sorting.beVisibleIf(isSortingByNameOrPath)
|
view.sorting_dialog_numeric_sorting.beVisibleIf(isSortingByNameOrPath)
|
||||||
view.use_for_this_folder_divider.beVisibleIf(view.sorting_dialog_numeric_sorting.isVisible() || view.sorting_dialog_use_for_this_folder.isVisible())
|
view.use_for_this_folder_divider.beVisibleIf(view.sorting_dialog_numeric_sorting.isVisible() || view.sorting_dialog_use_for_this_folder.isVisible())
|
||||||
|
|
||||||
val isCustomSorting = checkedId == sortingRadio.sorting_dialog_radio_custom.id
|
val hideSortOrder = checkedId == sortingRadio.sorting_dialog_radio_custom.id || checkedId == sortingRadio.sorting_dialog_radio_random.id
|
||||||
view.sorting_dialog_radio_order.beGoneIf(isCustomSorting)
|
view.sorting_dialog_radio_order.beGoneIf(hideSortOrder)
|
||||||
view.sorting_dialog_order_divider.beGoneIf(isCustomSorting)
|
view.sorting_dialog_order_divider.beGoneIf(hideSortOrder)
|
||||||
}
|
}
|
||||||
|
|
||||||
val sortBtn = when {
|
val sortBtn = when {
|
||||||
|
|
Loading…
Reference in a new issue