mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
format code
This commit is contained in:
@ -465,9 +465,7 @@ class ContactsAdapter(
|
|||||||
notifyItemMoved(fromPosition, toPosition)
|
notifyItemMoved(fromPosition, toPosition)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onRowSelected(myViewHolder: ViewHolder?) {
|
override fun onRowSelected(myViewHolder: ViewHolder?) { }
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onRowClear(myViewHolder: ViewHolder?) {
|
override fun onRowClear(myViewHolder: ViewHolder?) {
|
||||||
onDragEndListener?.invoke()
|
onDragEndListener?.invoke()
|
||||||
|
@ -22,12 +22,8 @@ class ChangeSortingDialog(val activity: BaseSimpleActivity, private val showCust
|
|||||||
activity.setupDialogStuff(view, this, R.string.sort_by)
|
activity.setupDialogStuff(view, this, R.string.sort_by)
|
||||||
}
|
}
|
||||||
|
|
||||||
currSorting = if (showCustomSorting) {
|
currSorting = if (showCustomSorting && config.isCustomOrderSelected) {
|
||||||
if (config.isCustomOrderSelected) {
|
SORT_BY_CUSTOM
|
||||||
SORT_BY_CUSTOM
|
|
||||||
} else {
|
|
||||||
config.sorting
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
config.sorting
|
config.sorting
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user