mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
Adopt bottom-sheet send flow for ledger (#2140)
* feat: new bottom-sheet send flow for ledger * refactor: use correct context in ledger bottom-sheet
This commit is contained in:
@@ -393,9 +393,10 @@ abstract class SendViewModelBase extends WalletChangeListenerViewModel with Stor
|
||||
@action
|
||||
Future<PendingTransaction?> createTransaction({ExchangeProvider? provider}) async {
|
||||
try {
|
||||
state = IsExecutingState();
|
||||
|
||||
if (wallet.isHardwareWallet) state = IsAwaitingDeviceResponseState();
|
||||
if (wallet.isHardwareWallet)
|
||||
state = IsAwaitingDeviceResponseState();
|
||||
else
|
||||
state = IsExecutingState();
|
||||
|
||||
pendingTransaction = await wallet.createTransaction(_credentials(provider));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user