From 08cae71390588fa1ff625cc0bc5a5ff0dc06aa07 Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Mon, 6 Sep 2021 23:27:51 +0530 Subject: [PATCH] Small UI Design Improvements (#12544) --- src/status_im/navigation/core.cljs | 2 +- src/status_im/ui/components/connectivity/view.cljs | 4 +++- src/status_im/ui/screens/mobile_network_settings/sheets.cljs | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/status_im/navigation/core.cljs b/src/status_im/navigation/core.cljs index cc8da7f927..347d45bf18 100644 --- a/src/status_im/navigation/core.cljs +++ b/src/status_im/navigation/core.cljs @@ -272,7 +272,7 @@ {:component {:name comp :id comp :options (merge (cond-> (roots/status-bar-options) - (and platform/android? (not (colors/dark?))) + (and platform/android? (colors/dark?)) (assoc-in [:statusBar :translucent] true)) {:layout {:componentBackgroundColor (if platform/android? (:backdrop @quo.colors/theme) diff --git a/src/status_im/ui/components/connectivity/view.cljs b/src/status_im/ui/components/connectivity/view.cljs index 899ddd4429..cbc01d98b2 100644 --- a/src/status_im/ui/components/connectivity/view.cljs +++ b/src/status_im/ui/components/connectivity/view.cljs @@ -88,12 +88,14 @@ {:title (i18n/label :t/not-connected-to-peers) :accessibility-label "not-connected-to-peers" :subtitle (i18n/label :t/unable-to-send-messages) + :subtitle-max-lines 2 :theme :negative :icon :main-icons/network}] [quo/list-item {:title (str (i18n/label :t/connected-to) " " peers-count " " (string/lower-case (i18n/label :t/peers))) :accessibility-label "connected-to-n-peers" :subtitle (i18n/label :t/can-send-messages) + :subtitle-max-lines 2 :theme :positive :icon :main-icons/network}]) [quo/list-header (i18n/label :t/history-nodes)] @@ -166,4 +168,4 @@ :accessibility-label (str "conn-button-" (name icon)) :on-press #(re-frame/dispatch [:bottom-sheet/show-sheet {:content connectivity-sheet}]) - :theme (if (= (:peers state) :offline) :negative :secondary)} icon]))) \ No newline at end of file + :theme (if (= (:peers state) :offline) :negative :secondary)} icon]))) diff --git a/src/status_im/ui/screens/mobile_network_settings/sheets.cljs b/src/status_im/ui/screens/mobile_network_settings/sheets.cljs index a96302ec7e..c8164918d6 100644 --- a/src/status_im/ui/screens/mobile_network_settings/sheets.cljs +++ b/src/status_im/ui/screens/mobile_network_settings/sheets.cljs @@ -69,6 +69,7 @@ :accessibility-label "mobile-network-continue-syncing" :title (i18n/label :t/mobile-network-continue-syncing) :subtitle (i18n/label :t/mobile-network-continue-syncing-details) + :subtitle-max-lines 2 :icon :main-icons/network :on-press #(hide-sheet-and-dispatch [:mobile-network/continue-syncing])}] [quo/list-item @@ -93,6 +94,7 @@ {:theme :accent :title (i18n/label :t/mobile-network-start-syncing) :subtitle (i18n/label :t/mobile-network-continue-syncing-details) + :subtitle-max-lines 2 :icon :main-icons/network :on-press #(re-frame/dispatch [:mobile-network/continue-syncing])}] [separator]