Fix for default payment currency setting

This commit is contained in:
Hillel Coren 2023-11-12 10:14:22 +02:00
parent bc54291b38
commit ba34b14066
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class _PaymentEditState extends State<PaymentEdit> {
_showConvertCurrency =
payment.exchangeRate != 1 && payment.exchangeRate != 0;
final state = widget.viewModel.state;
if (state.company.convertExpenseCurrency) {
if (state.company.convertPaymentCurrency) {
_showConvertCurrency = true;
}