mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-12 09:27:01 +00:00
temporarily disable wownero as a receiving currency in fixed rate trades
This commit is contained in:
parent
196f377228
commit
99e6d514e5
1 changed files with 13 additions and 0 deletions
|
@ -385,6 +385,19 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
|
|||
final sendAmount = ref.read(exchangeFormStateProvider).sendAmount!;
|
||||
final estimate = ref.read(exchangeFormStateProvider).estimate!;
|
||||
|
||||
if (rateType == ExchangeRateType.fixed && toTicker.toUpperCase() == "WOW") {
|
||||
await showDialog<void>(
|
||||
context: context,
|
||||
builder: (context) => const StackOkDialog(
|
||||
title: "WOW error",
|
||||
message:
|
||||
"Wownero is temporarily disabled as a receiving currency for fixed rate trades due to network issues",
|
||||
),
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
String rate;
|
||||
|
||||
switch (rateType) {
|
||||
|
|
Loading…
Reference in a new issue