format code

This commit is contained in:
Pavel Poley 2022-05-11 12:04:26 +03:00
parent 5b75c5f26b
commit 9dc953def9
2 changed files with 3 additions and 9 deletions

View File

@ -465,9 +465,7 @@ class ContactsAdapter(
notifyItemMoved(fromPosition, toPosition)
}
override fun onRowSelected(myViewHolder: ViewHolder?) {
}
override fun onRowSelected(myViewHolder: ViewHolder?) { }
override fun onRowClear(myViewHolder: ViewHolder?) {
onDragEndListener?.invoke()

View File

@ -22,15 +22,11 @@ class ChangeSortingDialog(val activity: BaseSimpleActivity, private val showCust
activity.setupDialogStuff(view, this, R.string.sort_by)
}
currSorting = if (showCustomSorting) {
if (config.isCustomOrderSelected) {
currSorting = if (showCustomSorting && config.isCustomOrderSelected) {
SORT_BY_CUSTOM
} else {
config.sorting
}
} else {
config.sorting
}
setupSortRadio()
setupOrderRadio()