Skip to content

Commit

Permalink
adjust syncing page with slider button adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Son89 committed Oct 2, 2023
1 parent df1617f commit f55476d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/quo2/components/buttons/slide_button/animations.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
(defn- track-cover-interpolation
[track-width thumb-size]
{:in [0 1]
:out [(/ thumb-size 1.8) track-width]})
:out [thumb-size track-width]})

(defn- arrow-icon-position-interpolation
[thumb-size]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
(h/has-style track-mock {:opacity constants/disable-opacity})))

(h/test "render the small button"
(h/render [slide-button/view (assoc default-props :size :size/s-40)])
(h/render [slide-button/view (assoc default-props :size :size-40)])
(let [mock (h/get-by-test-id :slide-button-track)
small-height (:track-height constants/small-dimensions)]
(h/has-style mock {:height small-height})))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
:on-auth-success on-auth-success
:on-auth-fail on-auth-fail
:fallback-button-label fallback-button-label})
:track-icon :i/face-id
:track-icon (if biometric-auth? :i/face-id :password)
:track-text track-text}]])))

(def view (quo.theme/with-theme view-internal))
2 changes: 1 addition & 1 deletion src/status_im2/contexts/syncing/setup_syncing/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
[rn/view {:style style/standard-auth}
[standard-auth/view
{:blur? true
:size :size/s-40
:size :size-40
:track-text (i18n/label :t/slide-to-reveal-code)
:customization-color customization-color
:on-enter-password on-enter-password
Expand Down

0 comments on commit f55476d

Please sign in to comment.