-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cw 660 add ledger monero #1747
base: main
Are you sure you want to change the base?
Cw 660 add ledger monero #1747
Conversation
…453-silent-payments
…MrCyjaneK-cyjan-monerodart � Conflicts: � cw_monero/lib/api/signatures.dart � cw_monero/lib/api/types.dart � cw_monero/lib/api/wallet_manager.dart � lib/locales/hausa_intl.dart � lib/locales/yoruba_intl.dart � lib/main.dart � macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme � scripts/android/pubspec_gen.sh
…MrCyjaneK-cyjan-monerodart � Conflicts: � lib/main.dart � lib/view_model/backup_view_model.dart
…ure cakewallet for iOS with for configuration script. Remove cw_shared configuration for cw_monero.
…, macOS, Windows.
…660-add-ledger-monero # Conflicts: # cw_monero/lib/api/wallet_manager.dart # cw_monero/lib/monero_wallet_service.dart # cw_monero/pubspec.lock # cw_monero/pubspec.yaml # cw_wownero/pubspec.lock # cw_wownero/pubspec.yaml # lib/router.dart # lib/src/screens/connect_device/debug_device_page.dart # lib/view_model/wallet_address_list/wallet_address_list_view_model.dart # lib/view_model/wallet_hardware_restore_view_model.dart # scripts/prepare_moneroc.sh
# Conflicts: # cw_bitcoin/lib/electrum_wallet.dart # cw_bitcoin/lib/electrum_wallet_addresses.dart # cw_bitcoin/lib/litecoin_wallet.dart # cw_bitcoin/lib/litecoin_wallet_addresses.dart # lib/view_model/dashboard/dashboard_view_model.dart # lib/view_model/wallet_list/wallet_list_view_model.dart # res/values/strings_de.arb
# Conflicts: # cw_bitcoin/lib/electrum_wallet.dart # cw_bitcoin/pubspec.lock
# Conflicts: # cw_bitcoin/lib/electrum_wallet.dart # cw_bitcoin/lib/electrum_wallet_addresses.dart # cw_bitcoin/lib/litecoin_wallet.dart # cw_bitcoin/lib/litecoin_wallet_addresses.dart # cw_bitcoin/pubspec.lock # lib/main.dart # lib/src/screens/connect_device/connect_device_page.dart # lib/src/screens/send/send_page.dart # lib/view_model/wallet_hardware_restore_view_model.dart # pubspec_base.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are the wownero changes needed?
lib/src/screens/connect_device/monero_hardware_wallet_options_page.dart
Outdated
Show resolved
Hide resolved
Navigator.of(context).pushNamed( | ||
Routes.walletList, | ||
arguments: (BuildContext context) => | ||
Navigator.of(context).pushNamed(Routes.dashboard), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be pushAndRemoveUntil
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which one? the first push or the push to dashboard?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the second one, push to dashboard, so that after the user goes to the dashboard, if he tapped back, he would get out of the app not go back to the wallet list page
showPopUp<void>( | ||
context: context, | ||
builder: (BuildContext context) => AlertWithOneAction( | ||
alertTitle: S.of(context).proceed_on_device, | ||
alertContent: S.of(context).proceed_on_device_description, | ||
buttonText: S.of(context).cancel, | ||
buttonAction: () => Navigator.of(context).pop()), | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't this show up in normal wallets as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, requireHardwareWalletConnection is only true if it is a monero hardware wallet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but this is out of the if condition scope
Description
This adds support for ledger hardware wallets.
Pull Request - Checklist