[#14230] Reset :current-chat-id on pressing back from chat screen

This commit is contained in:
Roman Volosovskyi 2022-10-27 15:00:44 +02:00
parent 6d557d735a
commit b492ed2969
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@
:size 32
:width 32
:accessibility-label "back-button"
:on-press #(>evt [:navigate-back])}
:on-press #(do
(>evt [:close-chat])
(>evt [:navigate-back]))}
[icons/icon :main-icons/arrow-left {:color (colors/theme-colors colors/neutral-100 colors/white)}]])
(defn search-button []