Skip to content

Commit f076714

Browse files
authored
Merge pull request #652 from cypherstack/remove-new-adress-for-xtz-xlm
Remove new address button for xtz and xlm
2 parents 46252ea + 0c481f2 commit f076714

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

lib/pages/receive_view/receive_view.dart

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,14 +307,20 @@ class _ReceiveViewState extends ConsumerState<ReceiveView> {
307307
if (coin != Coin.epicCash &&
308308
coin != Coin.ethereum &&
309309
coin != Coin.banano &&
310-
coin != Coin.nano)
310+
coin != Coin.nano &&
311+
coin != Coin.stellar &&
312+
coin != Coin.stellarTestnet &&
313+
coin != Coin.tezos)
311314
const SizedBox(
312315
height: 12,
313316
),
314317
if (coin != Coin.epicCash &&
315318
coin != Coin.ethereum &&
316319
coin != Coin.banano &&
317-
coin != Coin.nano)
320+
coin != Coin.nano &&
321+
coin != Coin.stellar &&
322+
coin != Coin.stellarTestnet &&
323+
coin != Coin.tezos)
318324
TextButton(
319325
onPressed: generateNewAddress,
320326
style: Theme.of(context)

lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_receive.dart

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,20 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
219219
if (coin != Coin.epicCash &&
220220
coin != Coin.ethereum &&
221221
coin != Coin.banano &&
222-
coin != Coin.nano)
222+
coin != Coin.nano &&
223+
coin != Coin.stellar &&
224+
coin != Coin.stellarTestnet &&
225+
coin != Coin.tezos)
223226
const SizedBox(
224227
height: 20,
225228
),
226229
if (coin != Coin.epicCash &&
227230
coin != Coin.ethereum &&
228231
coin != Coin.banano &&
229-
coin != Coin.nano)
232+
coin != Coin.nano &&
233+
coin != Coin.stellar &&
234+
coin != Coin.stellarTestnet &&
235+
coin != Coin.tezos)
230236
SecondaryButton(
231237
buttonHeight: ButtonHeight.l,
232238
onPressed: generateNewAddress,

0 commit comments

Comments
 (0)