diff --git a/src/status_im/ui/screens/appearance/views.cljs b/src/status_im/ui/screens/appearance/views.cljs index 639f830fe5..f82573fce1 100644 --- a/src/status_im/ui/screens/appearance/views.cljs +++ b/src/status_im/ui/screens/appearance/views.cljs @@ -14,10 +14,11 @@ (defn button [label icon theme selected?] [react/touchable-highlight - {:on-press #(do (re-frame/dispatch [:multiaccounts.ui/appearance-switched theme]) - (re-frame/dispatch [:init-root :chat-stack]) - (re-frame/dispatch [:navigate-change-tab :profile]) - (re-frame/dispatch [:navigate-to :appearance]))} + {:on-press (fn [] + (re-frame/dispatch [:multiaccounts.ui/appearance-switched theme]) + (re-frame/dispatch [:init-root :chat-stack]) + (re-frame/dispatch [:navigate-change-tab :profile]) + (js/setTimeout #(re-frame/dispatch [:navigate-to :appearance]) 1000))} [react/view (merge {:align-items :center :padding 8 :border-radius 20} (when selected? {:background-color colors/blue-light})) diff --git a/src/status_im/ui/screens/browser/views.cljs b/src/status_im/ui/screens/browser/views.cljs index bf283c0512..e69f70ada3 100644 --- a/src/status_im/ui/screens/browser/views.cljs +++ b/src/status_im/ui/screens/browser/views.cljs @@ -75,14 +75,12 @@ :disabled empty-tab :style (when empty-tab styles/disabled-button) :accessibility-label :previous-page-button} - [react/view - [icons/icon :main-icons/arrow-left]]] + [icons/icon :main-icons/arrow-left {:color colors/black}]] [react/touchable-highlight {:on-press #(re-frame/dispatch [:browser.ui/next-page-button-pressed]) :disabled (not can-go-forward?) :style (when-not can-go-forward? styles/disabled-button) :accessibility-label :next-page-button} - [react/view - [icons/icon :main-icons/arrow-right]]] + [icons/icon :main-icons/arrow-right {:color colors/black}]] [react/touchable-highlight {:accessibility-label :select-account :on-press #(re-frame/dispatch [:bottom-sheet/show-sheet @@ -92,7 +90,7 @@ [react/touchable-highlight {:on-press #(re-frame/dispatch [:set-stack-root :browser-stack :browser-tabs]) :accessibility-label :browser-open-tabs} - [icons/icon :main-icons/tabs]] + [icons/icon :main-icons/tabs {:color colors/black}]] (if empty-tab [react/touchable-highlight @@ -100,7 +98,7 @@ :on-press #(re-frame/dispatch [::qr-scanner/scan-code {:handler ::qr-scanner/on-scan-success}])} - [icons/icon :main-icons/qr]] + [icons/icon :main-icons/qr {:color colors/black}]] [react/touchable-highlight {:on-press #(re-frame/dispatch [:bottom-sheet/show-sheet @@ -110,7 +108,7 @@ empty-tab name)}]) :accessibility-label :browser-options} - [icons/icon :main-icons/more]])])) + [icons/icon :main-icons/more {:color colors/black}]])])) (def resources-to-permissions-map {"android.webkit.resource.VIDEO_CAPTURE" :camera "android.webkit.resource.AUDIO_CAPTURE" :record-audio})