minor code style update
This commit is contained in:
parent
516131787c
commit
03ff16f633
|
@ -243,15 +243,13 @@ class ConversationsAdapter(
|
|||
|
||||
private fun pinConversation(pin: Boolean) {
|
||||
val conversations = getSelectedItems()
|
||||
|
||||
if (conversations.size == 0) {
|
||||
if (conversations.isEmpty()) {
|
||||
return
|
||||
}
|
||||
|
||||
if (pin) {
|
||||
activity.config.addPinnedConversations(conversations)
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
activity.config.removePinnedConversations(conversations)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue