diff options
author | Marcel Hibbe <dev@mhibbe.de> | 2022-04-21 13:17:11 +0300 |
---|---|---|
committer | Marcel Hibbe <dev@mhibbe.de> | 2022-04-22 12:28:07 +0300 |
commit | 55a48585a72005bebbaa66c8b5f8ceea95a5eeab (patch) | |
tree | 0136087b3908a2a8cb0c6b2d864b2b73f326a47b | |
parent | b136465415ae873fcb11367e512e58b2a7f4c80c (diff) |
don't dismiss dialog when clicked on reaction of someone else
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
-rw-r--r-- | app/src/main/java/com/nextcloud/talk/ui/dialog/ShowReactionsDialog.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/ShowReactionsDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/ShowReactionsDialog.kt index ed98b6606..a9711ec24 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/ShowReactionsDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/ShowReactionsDialog.kt @@ -185,9 +185,8 @@ class ShowReactionsDialog( override fun onClick(reactionItem: ReactionItem) { if (reactionItem.reactionVoter.actorId?.equals(userEntity?.userId) == true) { deleteReaction(chatMessage, reactionItem.reaction!!) + dismiss() } - - dismiss() } private fun deleteReaction(message: ChatMessage, emoji: String) { |