Skip to content

Commit

Permalink
[#18453] fix: design feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri committed Feb 7, 2024
1 parent 5754998 commit bc3a525
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/quo/components/colors/color_picker/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
(when (and @ref (>= index 0))
(some-> ^js @ref
(.scrollToIndex #js
{:animated true
{:animated false
:index index
:viewPosition 0.5})))))
50)))
Expand Down
10 changes: 9 additions & 1 deletion src/status_im/navigation/options.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
(:require
[quo.foundations.colors :as colors]
[quo.theme :as quo.theme]
[react-native.platform :as platform]))
[react-native.platform :as platform]
[status-im.navigation.transitions :as transitions]))

(defn default-options
[]
Expand Down Expand Up @@ -88,6 +89,13 @@
:orientation ["portrait"]
:backgroundColor :transparent}}))

(def transparent-modal-screen-options
(merge
transparent-screen-options
{:animations (merge
transitions/new-to-status-modal-animations
transitions/push-animations-for-transparent-background)}))

(def sheet-options
{:layout {:componentBackgroundColor :transparent
:orientation ["portrait"]
Expand Down
6 changes: 3 additions & 3 deletions src/status_im/navigation/screens.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,15 @@
:component profiles/view}

{:name :edit-profile
:options options/transparent-screen-options
:options options/transparent-modal-screen-options
:component edit-profile/view}

{:name :edit-accent-colour
:options options/transparent-screen-options
:options options/transparent-modal-screen-options
:component edit-accent-colour/view}

{:name :edit-name
:options options/transparent-screen-options
:options options/transparent-modal-screen-options
:component edit-name/view}

{:name :new-to-status
Expand Down

0 comments on commit bc3a525

Please sign in to comment.