mirror of
https://github.com/status-im/status-react.git
synced 2025-02-17 05:16:46 +00:00
fix missing duration value in muted chat button text (#16769)
This commit is contained in:
parent
9aafe61f5f
commit
28f790b436
@ -135,9 +135,7 @@
|
|||||||
:unmute-chat
|
:unmute-chat
|
||||||
:mute-chat))
|
:mute-chat))
|
||||||
:sub-label (when (and muted? (some? muted-till))
|
:sub-label (when (and muted? (some? muted-till))
|
||||||
(str (i18n/label :t/muted-until)
|
(i18n/label :t/muted-until {:duration (format-mute-till muted-till)}))
|
||||||
" "
|
|
||||||
(format-mute-till muted-till)))
|
|
||||||
:on-press (if muted?
|
:on-press (if muted?
|
||||||
#(unmute-chat-action chat-id)
|
#(unmute-chat-action chat-id)
|
||||||
#(mute-chat-action chat-id chat-type muted?))
|
#(mute-chat-action chat-id chat-type muted?))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user