File tree 2 files changed +2
-26
lines changed
src/status_im2/contexts/wallet
2 files changed +2
-26
lines changed Original file line number Diff line number Diff line change 1
1
(ns status-im2.contexts.wallet.common.temp
2
2
(:require
3
3
[clojure.string :as string]
4
- [quo.core :as quo]
5
4
[quo.foundations.resources :as quo.resources]
6
5
[react-native.core :as rn]
7
6
[status-im2.common.resources :as status.resources]
8
7
[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]))
28
9
29
10
(defn wallet-overview-state
30
11
[networks]
Original file line number Diff line number Diff line change 27
27
{:title (i18n/label :t/no-recent-transactions )
28
28
:description (i18n/label :t/make-one-it-is-easy-we-promise )
29
29
: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}]
36
31
:tab/saved [quo/empty-state
37
32
{:title (i18n/label :t/no-saved-addresses )
38
33
:description (i18n/label :t/you-like-to-type-43-characters )
You can’t perform that action at this time.
0 commit comments