Skip to content

Commit

Permalink
fix: wrong color stroke in profile setting
Browse files Browse the repository at this point in the history
  • Loading branch information
codemaster115 committed Apr 26, 2024
1 parent cd54aa9 commit be012d7
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 35 deletions.
40 changes: 21 additions & 19 deletions src/status_im/contexts/profile/settings/header/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,24 @@
border-theme)
:customization-color customization-color
:profile-picture profile-picture}]
[rn/view {:style {:margin-bottom 4}}
[quo/dropdown
{:background :blur
:size :size-32
:type :outline
:icon? true
:no-icon-color? true
:icon-name status-icon
:on-press #(rf/dispatch [:show-bottom-sheet
{:shell? true
:theme :dark
:content (fn [] [visibility-sheet/view])}])}
status-title]]]
[quo/text-combinations
{:title-accessibility-label :username
:container-style style/title-container
:emoji-hash emoji-string
:description bio
:title full-name}]]))
[quo.theme/provider :dark
[rn/view {:style {:margin-bottom 4}}
[quo/dropdown
{:background :blur
:size :size-32
:type :outline
:icon? true
:no-icon-color? true
:icon-name status-icon
:on-press #(rf/dispatch [:show-bottom-sheet
{:shell? true
:theme :dark
:content (fn [] [visibility-sheet/view])}])}
status-title]]]]
[quo.theme/provider :dark
[quo/text-combinations
{:title-accessibility-label :username
:container-style style/title-container
:emoji-hash emoji-string
:description bio
:title full-name}]]]))
31 changes: 16 additions & 15 deletions src/status_im/contexts/profile/settings/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,22 @@
:style (style/navigation-wrapper {:customization-color customization-color
:inset (:top insets)
:theme theme})}
[quo/page-nav
{:title full-name
:background :blur
:type :title
:text-align :left
:scroll-y scroll-y
:icon-name :i/close
:on-press #(rf/dispatch [:navigate-back])
:right-side [{:icon-name :i/qr-code
:on-press #(debounce/throttle-and-dispatch [:open-modal :screen/share-shell]
1000)}
{:icon-name :i/share
:on-press #(rf/dispatch [:open-share
{:options {:message (:universal-profile-url
profile)}}])}]}]]
[quo.theme/provider :dark
[quo/page-nav
{:title full-name
:background :blur
:type :title
:text-align :left
:scroll-y scroll-y
:icon-name :i/close
:on-press #(rf/dispatch [:navigate-back])
:right-side [{:icon-name :i/qr-code
:on-press #(debounce/throttle-and-dispatch [:open-modal :screen/share-shell]
1000)}
{:icon-name :i/share
:on-press #(rf/dispatch [:open-share
{:options {:message (:universal-profile-url
profile)}}])}]}]]]
[rn/flat-list
{:key :list
:header [settings.header/view {:scroll-y scroll-y}]
Expand Down
2 changes: 1 addition & 1 deletion src/status_im/navigation/screens.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
:component communities.overview/view}

{:name :settings
:options options/transparent-screen-options
:options (dissoc options/transparent-screen-options :theme)
:component settings/view}

{:name :settings-syncing
Expand Down

0 comments on commit be012d7

Please sign in to comment.