Skip to content

feat: display the network type on the home screen#62

Open
skypank-coder wants to merge 1 commit into
bitcoindevkit:masterfrom
skypank-coder:master
Open

feat: display the network type on the home screen#62
skypank-coder wants to merge 1 commit into
bitcoindevkit:masterfrom
skypank-coder:master

Conversation

@skypank-coder

Copy link
Copy Markdown

The label under the balance was hardcoded to "BITCOIN", which is misleading
on any wallet that isn't on mainnet.

This threads the wallet's network through WalletScreenState (seeded from
wallet.network when the view model builds its initial state) and renders it
under the balance, so the home screen reads "SIGNET BITCOIN", "REGTEST BITCOIN",
and so on.

Closes #59

The label under the balance was hardcoded to BITCOIN. Thread the wallet's
network through WalletScreenState and render it (SIGNET BITCOIN, REGTEST
BITCOIN, etc.) so it's clear which network the wallet is on.

Closes bitcoindevkit#59
@skypank-coder

Copy link
Copy Markdown
Author

@thunderbiscuit Please Review this .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display the network type somewhere on home screen

1 participant