mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2024-12-29 09:39:59 +01:00
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
Block a user