Disable convert expense option if not configured
This commit is contained in:
parent
06f066390b
commit
5e14167e55
|
|
@ -1277,7 +1277,8 @@ class _MatchWithdrawalsState extends State<_MatchWithdrawals> {
|
||||||
)
|
)
|
||||||
: AppButton(
|
: AppButton(
|
||||||
label: localization.createExpense,
|
label: localization.createExpense,
|
||||||
onPressed: viewModel.state.isSaving
|
onPressed: viewModel.state.isSaving ||
|
||||||
|
(_selectedVendor == null && _selectedCategory == null)
|
||||||
? null
|
? null
|
||||||
: () {
|
: () {
|
||||||
final viewModel = widget.viewModel;
|
final viewModel = widget.viewModel;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue