Skip to content

Commit 424bbc3

Browse files
authored
cleanup leftovers (#18907)
1 parent 5a7bfc6 commit 424bbc3

File tree

3 files changed

+5
-9
lines changed
  • src
    • legacy/status_im/multiaccounts/logout
    • quo/components/navigation/bottom_nav_tab
    • status_im/contexts/shell/jump_to

3 files changed

+5
-9
lines changed

src/legacy/status_im/multiaccounts/logout/core.cljs

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
(let [key-uid (get-in db [:profile/profile :key-uid])]
3232
(rf/merge cofx
3333
{:set-root :progress
34-
:chat.ui/clear-inputs nil
3534
:effects.shell/reset-state nil
3635
:hide-popover nil
3736
::logout nil

src/quo/components/navigation/bottom_nav_tab/view.cljs

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"
3333
[{:keys [icon new-notifications? notification-indicator counter-label
3434
on-press pass-through? icon-color-anim accessibility-label test-ID
35-
customization-color on-long-press]
35+
customization-color]
3636
:or {customization-color :blue}}]
3737
(let [icon-animated-style (reanimated/apply-animations-to-style
3838
{:tint-color icon-color-anim}
@@ -48,7 +48,6 @@
4848
:border-radius 10})]
4949
[rn/touchable-without-feedback
5050
{:test-ID test-ID
51-
:on-long-press on-long-press ;;NOTE - this is temporary while supporting old wallet
5251
:allow-multiple-presses? true
5352
:on-press on-press
5453
:on-press-in #(toggle-background-color background-color false pass-through?)

src/status_im/contexts/shell/jump_to/view.cljs

+4-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515

1616
(defn navigate-back-handler
1717
[]
18-
(if (and (not @navigation.state/curr-modal)
19-
(seq (utils/open-floating-screens)))
20-
(do
21-
(rf/dispatch [:navigate-back])
22-
true)
23-
false))
18+
(when (and (not @navigation.state/curr-modal)
19+
(seq (utils/open-floating-screens)))
20+
(rf/dispatch [:navigate-back])
21+
true))
2422

2523
(defn floating-button
2624
[shared-values]

0 commit comments

Comments
 (0)