Skip to content

Commit 9b37ca0

Browse files
committed
chore: remove temporary navigation
1 parent 51b7752 commit 9b37ca0

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

src/status_im2/contexts/wallet/common/temp.cljs

+1-20
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,11 @@
11
(ns status-im2.contexts.wallet.common.temp
22
(:require
33
[clojure.string :as string]
4-
[quo.core :as quo]
54
[quo.foundations.resources :as quo.resources]
65
[react-native.core :as rn]
76
[status-im2.common.resources :as status.resources]
87
[status-im2.constants :as constants]
9-
[utils.i18n :as i18n]
10-
[utils.re-frame :as rf]))
11-
12-
13-
(defn wallet-temporary-navigation
14-
[]
15-
[rn/view
16-
{:style {:flex 1
17-
:align-items :center
18-
:justify-content :center}}
19-
[quo/text {} "TEMPORARY NAVIGATION"]
20-
[quo/button {:on-press #(rf/dispatch [:navigate-to :wallet-accounts])}
21-
"Navigate to Account"]
22-
[quo/button {:on-press #(rf/dispatch [:navigate-to :wallet-create-account])}
23-
"Create Account"]
24-
[quo/button {:on-press #(rf/dispatch [:navigate-to :wallet-saved-addresses])}
25-
"Saved Addresses"]
26-
[quo/button {:on-press #(rf/dispatch [:navigate-to :wallet-send-input-amount])}
27-
"Send: input amount"]])
8+
[utils.i18n :as i18n]))
289

2910
(defn wallet-overview-state
3011
[networks]

src/status_im2/contexts/wallet/send/select_address/view.cljs

+1-6
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@
2727
{:title (i18n/label :t/no-recent-transactions)
2828
:description (i18n/label :t/make-one-it-is-easy-we-promise)
2929
:placeholder? true
30-
:container-style style/empty-container-style
31-
;; TODO(rende11) Temporal navigation:
32-
;; https://github.com/status-im/status-mobile/issues/17872
33-
:upper-button {:text "TEMP: Input amount"
34-
:on-press #(rf/dispatch [:navigate-to
35-
:wallet-send-input-amount])}}]
30+
:container-style style/empty-container-style}]
3631
:tab/saved [quo/empty-state
3732
{:title (i18n/label :t/no-saved-addresses)
3833
:description (i18n/label :t/you-like-to-type-43-characters)

0 commit comments

Comments
 (0)