[Fix] Crash on onboarding due to nil value (#16884)
Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
parent
e5b6378e15
commit
bad9aa9e20
|
@ -110,19 +110,20 @@
|
||||||
:icon-background :blur
|
:icon-background :blur
|
||||||
:icon :i/arrow-left
|
:icon :i/arrow-left
|
||||||
:on-press navigate-back}
|
:on-press navigate-back}
|
||||||
:right-section-buttons [(when config/quo-preview-enabled?
|
:right-section-buttons (cond-> [{:type :grey
|
||||||
{:type :grey
|
:icon :i/info
|
||||||
:icon :i/reveal-whitelist
|
:icon-background :blur
|
||||||
:icon-background :blur
|
:on-press #(rf/dispatch
|
||||||
:on-press #(rf/dispatch [:navigate-to
|
[:show-bottom-sheet
|
||||||
:quo2-preview])})
|
{:content getting-started-doc
|
||||||
{:type :grey
|
:shell? true}])}]
|
||||||
:icon :i/info
|
|
||||||
:icon-background :blur
|
config/quo-preview-enabled?
|
||||||
:on-press #(rf/dispatch
|
(conj {:type :grey
|
||||||
[:show-bottom-sheet
|
:icon :i/reveal-whitelist
|
||||||
{:content getting-started-doc
|
:icon-background :blur
|
||||||
:shell? true}])}]}]])
|
:on-press #(rf/dispatch [:navigate-to
|
||||||
|
:quo2-preview])}))}]])
|
||||||
|
|
||||||
(defn new-to-status
|
(defn new-to-status
|
||||||
[]
|
[]
|
||||||
|
|
Loading…
Reference in New Issue