mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 17:08:34 +03:00
fix to mark conversation as read
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
0f6efabf38
commit
e1f8c41b60
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,7 @@ import com.nextcloud.talk.controllers.bottomsheet.ConversationOperationEnum.OPS_
|
||||||
import com.nextcloud.talk.controllers.bottomsheet.ConversationOperationEnum.OPS_CODE_MAKE_PRIVATE
|
import com.nextcloud.talk.controllers.bottomsheet.ConversationOperationEnum.OPS_CODE_MAKE_PRIVATE
|
||||||
import com.nextcloud.talk.controllers.bottomsheet.ConversationOperationEnum.OPS_CODE_MAKE_PUBLIC
|
import com.nextcloud.talk.controllers.bottomsheet.ConversationOperationEnum.OPS_CODE_MAKE_PUBLIC
|
||||||
import com.nextcloud.talk.controllers.bottomsheet.ConversationOperationEnum.OPS_CODE_RENAME_ROOM
|
import com.nextcloud.talk.controllers.bottomsheet.ConversationOperationEnum.OPS_CODE_RENAME_ROOM
|
||||||
|
import com.nextcloud.talk.controllers.bottomsheet.ConversationOperationEnum.OPS_CODE_MARK_AS_READ
|
||||||
import com.nextcloud.talk.controllers.bottomsheet.EntryMenuController
|
import com.nextcloud.talk.controllers.bottomsheet.EntryMenuController
|
||||||
import com.nextcloud.talk.controllers.bottomsheet.OperationsMenuController
|
import com.nextcloud.talk.controllers.bottomsheet.OperationsMenuController
|
||||||
import com.nextcloud.talk.databinding.DialogConversationOperationsBinding
|
import com.nextcloud.talk.databinding.DialogConversationOperationsBinding
|
||||||
|
@ -234,6 +235,10 @@ class ConversationsListBottomDialog(
|
||||||
executeEntryMenuController(OPS_CODE_RENAME_ROOM)
|
executeEntryMenuController(OPS_CODE_RENAME_ROOM)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
binding.conversationOperationMarkAsRead.setOnClickListener {
|
||||||
|
executeOperationsMenuController(OPS_CODE_MARK_AS_READ)
|
||||||
|
}
|
||||||
|
|
||||||
binding.conversationOperationShareLink.setOnClickListener {
|
binding.conversationOperationShareLink.setOnClickListener {
|
||||||
val sendIntent: Intent = Intent().apply {
|
val sendIntent: Intent = Intent().apply {
|
||||||
action = Intent.ACTION_SEND
|
action = Intent.ACTION_SEND
|
||||||
|
|
Loading…
Reference in a new issue