From 28f790b436249ce2256168f5f5e0a54609ae738b Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Tue, 25 Jul 2023 17:22:12 +0530 Subject: [PATCH] fix missing duration value in muted chat button text (#16769) --- src/status_im2/common/home/actions/view.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/status_im2/common/home/actions/view.cljs b/src/status_im2/common/home/actions/view.cljs index ac3ac811d2..62cb50c1dd 100644 --- a/src/status_im2/common/home/actions/view.cljs +++ b/src/status_im2/common/home/actions/view.cljs @@ -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?))