fix missing duration value in muted chat button text (#16769)

This commit is contained in:
Parvesh Monu 2023-07-25 17:22:12 +05:30 committed by GitHub
parent 9aafe61f5f
commit 28f790b436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -135,9 +135,7 @@
:unmute-chat
:mute-chat))
:sub-label (when (and muted? (some? muted-till))
(str (i18n/label :t/muted-until)
" "
(format-mute-till muted-till)))
(i18n/label :t/muted-until {:duration (format-mute-till muted-till)}))
:on-press (if muted?
#(unmute-chat-action chat-id)
#(mute-chat-action chat-id chat-type muted?))