File tree 1 file changed +14
-13
lines changed
src/status_im2/contexts/onboarding/new_to_status
1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 110
110
:icon-background :blur
111
111
:icon :i/arrow-left
112
112
:on-press navigate-back}
113
- :right-section-buttons [(when config/quo-preview-enabled?
114
- {:type :grey
115
- :icon :i/reveal-whitelist
116
- :icon-background :blur
117
- :on-press #(rf/dispatch [:navigate-to
118
- :quo2-preview ])})
119
- {:type :grey
120
- :icon :i/info
121
- :icon-background :blur
122
- :on-press #(rf/dispatch
123
- [:show-bottom-sheet
124
- {:content getting-started-doc
125
- :shell? true }])}]}]])
113
+ :right-section-buttons (cond-> [{:type :grey
114
+ :icon :i/info
115
+ :icon-background :blur
116
+ :on-press #(rf/dispatch
117
+ [:show-bottom-sheet
118
+ {:content getting-started-doc
119
+ :shell? true }])}]
120
+
121
+ config/quo-preview-enabled?
122
+ (conj {:type :grey
123
+ :icon :i/reveal-whitelist
124
+ :icon-background :blur
125
+ :on-press #(rf/dispatch [:navigate-to
126
+ :quo2-preview ])}))}]])
126
127
127
128
(defn new-to-status
128
129
[]
You can’t perform that action at this time.
0 commit comments