mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-14 02:20:35 +01:00
remove divider when custom sorting is selected
This commit is contained in:
parent
9dc953def9
commit
97662dcb75
@ -38,6 +38,7 @@ class ChangeSortingDialog(val activity: BaseSimpleActivity, private val showCust
|
|||||||
sortingRadio.setOnCheckedChangeListener { group, checkedId ->
|
sortingRadio.setOnCheckedChangeListener { group, checkedId ->
|
||||||
val isCustomSorting = checkedId == sortingRadio.sorting_dialog_radio_custom.id
|
val isCustomSorting = checkedId == sortingRadio.sorting_dialog_radio_custom.id
|
||||||
view.sorting_dialog_radio_order.beGoneIf(isCustomSorting)
|
view.sorting_dialog_radio_order.beGoneIf(isCustomSorting)
|
||||||
|
view.divider.beGoneIf(isCustomSorting)
|
||||||
}
|
}
|
||||||
|
|
||||||
val sortBtn = when {
|
val sortBtn = when {
|
||||||
|
@ -69,7 +69,9 @@
|
|||||||
|
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
|
|
||||||
<include layout="@layout/divider" />
|
<include
|
||||||
|
android:id="@+id/divider"
|
||||||
|
layout="@layout/divider" />
|
||||||
|
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
android:id="@+id/sorting_dialog_radio_order"
|
android:id="@+id/sorting_dialog_radio_order"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user