Skip to content

Commit

Permalink
updated status-go
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-mut committed Jul 18, 2023
1 parent b0a5fee commit 11abda6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/status_im/communities/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
[taoensso.timbre :as log]
[utils.i18n :as i18n]
[utils.re-frame :as rf]
[utils.datetime :as datetime]
[status-im2.common.muting.helpers :refer [format-mute-till]]
[status-im2.contexts.chat.events :as chat.events]))

(def crop-size 1000)
Expand Down Expand Up @@ -980,7 +980,7 @@
quo2.colors/success-50)
:text (if muted?
(when (some? muted-till)
(time-string :t/muted-until (datetime/format-mute-till muted-till)))
(time-string :t/muted-until (format-mute-till muted-till)))
(i18n/label :t/community-unmuted))}]}))


Expand Down
2 changes: 1 addition & 1 deletion src/status_im2/common/home/actions/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[status-im2.contexts.contacts.drawers.nickname-drawer.view :as nickname-drawer]
[utils.i18n :as i18n]
[utils.re-frame :as rf]
[status-im2.common.mute-chat-drawer.view :as mute-chat-drawer]
[status-im2.common.mute-drawer.view :as mute-drawer]
[status-im2.common.muting.helpers :refer [format-mute-till]]))

(defn- entry
Expand Down
2 changes: 1 addition & 1 deletion src/status_im2/contexts/communities/actions/chat/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[utils.i18n :as i18n]
[utils.re-frame :as rf]
[status-im2.common.muting.helpers :refer [format-mute-till]]
[status-im2.common.mute-chat-drawer.view :as mute-chat-drawer]))
[status-im2.common.mute-drawer.view :as mute-drawer]))

(defn hide-sheet-and-dispatch
[event]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
(ns status-im2.contexts.communities.actions.community-options.view
(:require [utils.i18n :as i18n]
[utils.re-frame :as rf]
[utils.datetime :as datetime]
[quo2.core :as quo]
[status-im2.contexts.communities.actions.see-rules.view :as see-rules]
[status-im2.contexts.communities.actions.leave.view :as leave-menu]
[status-im2.common.mute-drawer.view :as mute-options]
[status-im2.constants :as constants]
[status-im2.common.muting.helpers :refer [format-mute-till]]
[status-im2.contexts.communities.actions.token-gating.view :as token-gating]))

(defn hide-sheet-and-dispatch
Expand Down Expand Up @@ -55,7 +55,7 @@
:accessibility-label (if muted? :unmute-community :mute-community)
:label (i18n/label (if muted? :t/unmute-community :t/mute-community))
:sub-label (when (and muted? (some? muted-till))
(time-string :t/muted-until (datetime/format-mute-till muted-till)))
(time-string :t/muted-until (format-mute-till muted-till)))
:right-icon :i/chevron-right
:on-press (if muted?
#(hide-sheet-and-dispatch [:community/set-muted id (not muted?)
Expand Down
4 changes: 2 additions & 2 deletions status-go-version.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"owner": "status-im",
"repo": "status-go",
"version": "ft/mute-community",
"commit-sha1": "e691c4755229411c7f1b289f26d5b527331ef1da",
"src-sha256": "0smjw1b2dnfisjk8fk0hm1gxsp5w5yl2assnf4b673f0i1ql2xma"
"commit-sha1": "18105dc89daffe55d8a6705f6dc2cfefe1e73179",
"src-sha256": "0njjxi6bbknipcjnzfggxw78sn01rz1cmnxzsr67ra80w181qc9d"
}

0 comments on commit 11abda6

Please sign in to comment.