This commit is contained in:
Lucwousin
2019-09-19 13:10:20 +02:00
parent db03a245e3
commit 7701569b4f

View File

@@ -35,8 +35,14 @@ public class WithdrawComparableEntry extends AbstractComparableEntry
return false; return false;
} }
if (amount == Amount.X && !option.endsWith(x) if (amount == Amount.X)
|| !option.endsWith(amount.suffix)) {
if (!option.endsWith(x))
{
return false;
}
}
else if (!option.endsWith(amount.suffix))
{ {
return false; return false;
} }