Remove same currency swap check

This commit is contained in:
OmarHatem
2025-10-28 01:46:17 +01:00
parent 7b9cd9ec2b
commit d7e9f09f60
2 changed files with 26 additions and 25 deletions
@@ -647,11 +647,6 @@ abstract class ExchangeViewModelBase extends WalletChangeListenerViewModel with
@action
Future<void> createTrade() async {
if (depositCurrency == receiveCurrency) {
tradeState = TradeIsCreatedFailure(
title: S.current.trade_not_created, error: 'Can\'t exchange the same currency');
return;
}
if (isSendAllEnabled) {
await calculateDepositAllAmount();
final amount = double.tryParse(depositAmount);