mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-03-13 01:30:05 +01:00
format code
This commit is contained in:
parent
5b75c5f26b
commit
9dc953def9
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user