[#4550] fix delete group chat label

This commit is contained in:
Roman Volosovskyi 2018-05-31 12:58:51 +03:00
parent 2136fe62ce
commit 2e62e945ff
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@
[re-frame/trim-v] [re-frame/trim-v]
(fn [_ [chat-id group?]] (fn [_ [chat-id group?]]
{:show-confirmation {:title (i18n/label :t/delete-confirmation) {:show-confirmation {:title (i18n/label :t/delete-confirmation)
:content (i18n/label (if group? :t/delete-group-chat-confirmation :t/delete-chat-confirmation)) :content (i18n/label :t/delete-chat-confirmation)
:confirm-button-text (i18n/label :t/delete) :confirm-button-text (i18n/label :t/delete)
:on-accept #(re-frame/dispatch [:remove-chat-and-navigate-home chat-id])}})) :on-accept #(re-frame/dispatch [:remove-chat-and-navigate-home chat-id])}}))