Skip to content

Commit

Permalink
[#17393] fix: resolve design feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri committed Dec 20, 2023
1 parent 5cc2a2b commit 6083ab1
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/quo/components/text_combinations/style.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@

(def emoji-hash
{:margin-top 8
:letter-spacing 0.5
:letter-spacing 2
:font-size 13
:line-height 20.5})
2 changes: 1 addition & 1 deletion src/status_im/contexts/profile/settings/header/avatar.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[{:keys [scroll-y full-name online? profile-picture customization-color]}]
(let [image-scale-animation (reanimated/interpolate scroll-y
scroll-animation-input-range
[1 0.5]
[1 0.4]
header-extrapolation-option)
image-top-margin-animation (reanimated/interpolate scroll-y
scroll-animation-input-range
Expand Down
4 changes: 2 additions & 2 deletions src/status_im/contexts/profile/settings/header/utils.cljs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns status-im2.contexts.profile.settings.header.utils
(:require [status-im2.constants :as constants]
(ns status-im.contexts.profile.settings.header.utils
(:require [status-im.constants :as constants]
[utils.i18n :as i18n]))

(defn visibility-status-type-data
Expand Down
2 changes: 1 addition & 1 deletion src/status_im/contexts/profile/settings/list_items.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
:action :arrow}
{:title (i18n/label :t/notifications)
:on-press #(rf/dispatch [:navigate-to :notifications])
:image-props :i/notifications
:image-props :i/activity-center
:image :icon
:blur? true
:action :arrow}
Expand Down
1 change: 1 addition & 0 deletions src/status_im/contexts/profile/settings/style.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@

(def footer-container
{:margin-top 8
:margin-bottom 50
:padding-horizontal 20
:padding-vertical 12})
14 changes: 13 additions & 1 deletion src/status_im/contexts/profile/settings/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
[status-im.contexts.profile.settings.header.view :as settings.header]
[status-im.contexts.profile.settings.list-items :as settings.items]
[status-im.contexts.profile.settings.style :as style]
[status-im.contexts.shell.jump-to.constants :as jump-to.constants]
[utils.debounce :as debounce]
[utils.i18n :as i18n]
[utils.re-frame :as rf]))

(defn- settings-item-view
Expand Down Expand Up @@ -67,7 +69,17 @@
:footer [footer logout-press]
:scroll-event-throttle 16
:on-scroll #(scroll-handler % scroll-y)
:bounces false}]]))
:bounces false}]
[quo/floating-shell-button
{:key :shell
:jump-to
{:on-press #(do
(rf/dispatch [:navigate-back])
(debounce/dispatch-and-chill [:shell/navigate-to-jump-to] 500))
:customization-color customization-color
:label (i18n/label :t/jump-to)}}
{:position :absolute
:bottom jump-to.constants/floating-shell-button-height}]]))

(defn- internal-view
[props]
Expand Down

0 comments on commit 6083ab1

Please sign in to comment.