mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-02-18 12:40:46 +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) {
|
private fun pinConversation(pin: Boolean) {
|
||||||
val conversations = getSelectedItems()
|
val conversations = getSelectedItems()
|
||||||
|
if (conversations.isEmpty()) {
|
||||||
if (conversations.size == 0) {
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pin) {
|
if (pin) {
|
||||||
activity.config.addPinnedConversations(conversations)
|
activity.config.addPinnedConversations(conversations)
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
activity.config.removePinnedConversations(conversations)
|
activity.config.removePinnedConversations(conversations)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user