[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 :i/arrow-left
|
||||
:on-press navigate-back}
|
||||
:right-section-buttons [(when config/quo-preview-enabled?
|
||||
{:type :grey
|
||||
:icon :i/reveal-whitelist
|
||||
:icon-background :blur
|
||||
:on-press #(rf/dispatch [:navigate-to
|
||||
:quo2-preview])})
|
||||
{:type :grey
|
||||
:icon :i/info
|
||||
:icon-background :blur
|
||||
:on-press #(rf/dispatch
|
||||
[:show-bottom-sheet
|
||||
{:content getting-started-doc
|
||||
:shell? true}])}]}]])
|
||||
:right-section-buttons (cond-> [{:type :grey
|
||||
:icon :i/info
|
||||
:icon-background :blur
|
||||
:on-press #(rf/dispatch
|
||||
[:show-bottom-sheet
|
||||
{:content getting-started-doc
|
||||
:shell? true}])}]
|
||||
|
||||
config/quo-preview-enabled?
|
||||
(conj {:type :grey
|
||||
:icon :i/reveal-whitelist
|
||||
:icon-background :blur
|
||||
:on-press #(rf/dispatch [:navigate-to
|
||||
:quo2-preview])}))}]])
|
||||
|
||||
(defn new-to-status
|
||||
[]
|
||||
|
|
Loading…
Reference in New Issue