mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-26 00:19:44 +00:00
cleanup leftovers (#18907)
This commit is contained in:
parent
5a7bfc61cc
commit
424bbc39c4
@ -31,7 +31,6 @@
|
|||||||
(let [key-uid (get-in db [:profile/profile :key-uid])]
|
(let [key-uid (get-in db [:profile/profile :key-uid])]
|
||||||
(rf/merge cofx
|
(rf/merge cofx
|
||||||
{:set-root :progress
|
{:set-root :progress
|
||||||
:chat.ui/clear-inputs nil
|
|
||||||
:effects.shell/reset-state nil
|
:effects.shell/reset-state nil
|
||||||
:hide-popover nil
|
:hide-popover nil
|
||||||
::logout nil
|
::logout nil
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"
|
"
|
||||||
[{:keys [icon new-notifications? notification-indicator counter-label
|
[{:keys [icon new-notifications? notification-indicator counter-label
|
||||||
on-press pass-through? icon-color-anim accessibility-label test-ID
|
on-press pass-through? icon-color-anim accessibility-label test-ID
|
||||||
customization-color on-long-press]
|
customization-color]
|
||||||
:or {customization-color :blue}}]
|
:or {customization-color :blue}}]
|
||||||
(let [icon-animated-style (reanimated/apply-animations-to-style
|
(let [icon-animated-style (reanimated/apply-animations-to-style
|
||||||
{:tint-color icon-color-anim}
|
{:tint-color icon-color-anim}
|
||||||
@ -48,7 +48,6 @@
|
|||||||
:border-radius 10})]
|
:border-radius 10})]
|
||||||
[rn/touchable-without-feedback
|
[rn/touchable-without-feedback
|
||||||
{:test-ID test-ID
|
{:test-ID test-ID
|
||||||
:on-long-press on-long-press ;;NOTE - this is temporary while supporting old wallet
|
|
||||||
:allow-multiple-presses? true
|
:allow-multiple-presses? true
|
||||||
:on-press on-press
|
:on-press on-press
|
||||||
:on-press-in #(toggle-background-color background-color false pass-through?)
|
:on-press-in #(toggle-background-color background-color false pass-through?)
|
||||||
|
@ -15,12 +15,10 @@
|
|||||||
|
|
||||||
(defn navigate-back-handler
|
(defn navigate-back-handler
|
||||||
[]
|
[]
|
||||||
(if (and (not @navigation.state/curr-modal)
|
(when (and (not @navigation.state/curr-modal)
|
||||||
(seq (utils/open-floating-screens)))
|
(seq (utils/open-floating-screens)))
|
||||||
(do
|
|
||||||
(rf/dispatch [:navigate-back])
|
(rf/dispatch [:navigate-back])
|
||||||
true)
|
true))
|
||||||
false))
|
|
||||||
|
|
||||||
(defn floating-button
|
(defn floating-button
|
||||||
[shared-values]
|
[shared-values]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user