File tree 4 files changed +25
-6
lines changed
4 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 3
3
[quo.core :as quo]
4
4
[react-native.core :as rn]
5
5
[status-im.common.home.title-column.style :as style]
6
- [status-im.common.plus-button.view :as plus-button]))
6
+ [status-im.common.plus-button.view :as plus-button]
7
+ [utils.i18n :as i18n]))
7
8
8
9
(defn view
9
- [{:keys [label handler accessibility-label customization-color]}]
10
+ [{:keys [beta? label handler accessibility-label customization-color]}]
10
11
[rn/view style/title-column
11
- [rn/view {:flex 1 }
12
+ [rn/view
13
+ {:style {:flex 1
14
+ :align-items :center
15
+ :flex-direction :row }}
12
16
[quo/text style/title-column-text
13
- label]]
17
+ label]
18
+ (when beta?
19
+ [rn/view
20
+ {:style {:padding-top 6
21
+ :padding-bottom 2 }}
22
+ [quo/tag
23
+ {:accessibility-label :communities-chat-beta-tag
24
+ :size 24
25
+ :type :label
26
+ :label (i18n/label :t/beta )
27
+ :labelled? true
28
+ :blurred? false }]])]
29
+
14
30
(when handler
15
31
[plus-button/plus-button
16
32
{:on-press handler
Original file line number Diff line number Diff line change 118
118
(defn- banner-data
119
119
[profile-link]
120
120
{:title-props
121
- {:label (i18n/label :t/messages )
121
+ {:beta? true
122
+ :label (i18n/label :t/messages )
122
123
:handler #(rf/dispatch
123
124
[:show-bottom-sheet {:content chat.actions.view/new-chat}])
124
125
:accessibility-label :new-chat-button }
Original file line number Diff line number Diff line change 64
64
65
65
(def ^:private banner-data
66
66
{:title-props
67
- {:label (i18n/label :t/communities )
67
+ {:beta? true
68
+ :label (i18n/label :t/communities )
68
69
:handler (when config/fast-create-community-enabled?
69
70
#(rf/dispatch [:show-bottom-sheet {:content actions.home-plus/view}]))
70
71
:accessibility-label :new-communities-button }
Original file line number Diff line number Diff line change 186
186
"balance" : " Balance" ,
187
187
"begin-set-up" : " Begin setup" ,
188
188
"below-base-fee" : " max fee below base fee" ,
189
+ "beta" : " Beta" ,
189
190
"bio" : " Bio" ,
190
191
"bio-added" : " Bio added" ,
191
192
"bio-is-too-long" : " Bio is too long" ,
You can’t perform that action at this time.
0 commit comments