File tree Expand file tree Collapse file tree 2 files changed +31
-29
lines changed Expand file tree Collapse file tree 2 files changed +31
-29
lines changed Original file line number Diff line number Diff line change @@ -56,32 +56,34 @@ export function AccountsWidget() {
56
56
) }
57
57
</ Box >
58
58
) }
59
- < Box my = "3" px = "5" flexDirection = "row" gap = "2" >
60
- < ButtonV2
61
- onPress = { ( ) => {
62
- sendSheetRef . current ?. present ( ) ;
63
- } }
64
- minWidth = { 86 }
65
- size = "sm"
66
- buttonState = "default"
67
- title = { t ( {
68
- id : 'general.send' ,
69
- message : `Send` ,
70
- } ) }
71
- />
72
- < ButtonV2
73
- onPress = { ( ) => {
74
- receiveSheetRef . current ?. present ( ) ;
75
- } }
76
- minWidth = { 86 }
77
- size = "sm"
78
- buttonState = "outline"
79
- title = { t ( {
80
- id : 'general.receive' ,
81
- message : `Receive` ,
82
- } ) }
83
- />
84
- </ Box >
59
+ { wallets . hasWallets && (
60
+ < Box my = "3" px = "5" flexDirection = "row" gap = "2" >
61
+ < ButtonV2
62
+ onPress = { ( ) => {
63
+ sendSheetRef . current ?. present ( ) ;
64
+ } }
65
+ minWidth = { 86 }
66
+ size = "sm"
67
+ buttonState = "default"
68
+ title = { t ( {
69
+ id : 'general.send' ,
70
+ message : `Send` ,
71
+ } ) }
72
+ />
73
+ < ButtonV2
74
+ onPress = { ( ) => {
75
+ receiveSheetRef . current ?. present ( ) ;
76
+ } }
77
+ minWidth = { 86 }
78
+ size = "sm"
79
+ buttonState = "outline"
80
+ title = { t ( {
81
+ id : 'general.receive' ,
82
+ message : `Receive` ,
83
+ } ) }
84
+ />
85
+ </ Box >
86
+ ) }
85
87
</ Box >
86
88
< Widget . Body >
87
89
< ScrollView
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ msgstr "{name}"
49
49
msgid "configure_account.name.cell_caption"
50
50
msgstr "{name}"
51
51
52
- #: src/features/account/accounts-widget.tsx:106
52
+ #: src/features/account/accounts-widget.tsx:108
53
53
msgid "accounts.account.cell_caption"
54
54
msgstr "{name}"
55
55
@@ -1233,7 +1233,7 @@ msgid "action_bar.receive_label"
1233
1233
msgstr "Receive"
1234
1234
1235
1235
#: src/features/account/account.tsx:113
1236
- #: src/features/account/accounts-widget.tsx:79
1236
+ #: src/features/account/accounts-widget.tsx:80
1237
1237
msgid "general.receive"
1238
1238
msgstr "Receive"
1239
1239
@@ -1379,7 +1379,7 @@ msgid "action_bar.send_label"
1379
1379
msgstr "Send"
1380
1380
1381
1381
#: src/features/account/account.tsx:101
1382
- #: src/features/account/accounts-widget.tsx:67
1382
+ #: src/features/account/accounts-widget.tsx:68
1383
1383
msgid "general.send"
1384
1384
msgstr "Send"
1385
1385
You can’t perform that action at this time.
0 commit comments