mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
WIP majestic bank trade status fixes
This commit is contained in:
parent
755115b848
commit
196f377228
1 changed files with 5 additions and 0 deletions
|
@ -117,6 +117,9 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
|
||||||
status = changeNowTransactionStatusFromStringIgnoreCase(statusString);
|
status = changeNowTransactionStatusFromStringIgnoreCase(statusString);
|
||||||
} on ArgumentError catch (_) {
|
} on ArgumentError catch (_) {
|
||||||
status = ChangeNowTransactionStatus.Failed;
|
status = ChangeNowTransactionStatus.Failed;
|
||||||
|
if (statusString == "Processing payment") {
|
||||||
|
status = ChangeNowTransactionStatus.Sending;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (status) {
|
switch (status) {
|
||||||
|
@ -158,6 +161,8 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
|
||||||
trade.status == "failed");
|
trade.status == "failed");
|
||||||
|
|
||||||
//todo: check if print needed
|
//todo: check if print needed
|
||||||
|
// debugPrint("walletId: $walletId");
|
||||||
|
// debugPrint("transactionIfSentFromStack: $transactionIfSentFromStack");
|
||||||
// debugPrint("sentFromStack: $sentFromStack");
|
// debugPrint("sentFromStack: $sentFromStack");
|
||||||
// debugPrint("hasTx: $hasTx");
|
// debugPrint("hasTx: $hasTx");
|
||||||
// debugPrint("trade: ${trade.toString()}");
|
// debugPrint("trade: ${trade.toString()}");
|
||||||
|
|
Loading…
Reference in a new issue