Skip to content

Commit

Permalink
set default transaction type to expense
Browse files Browse the repository at this point in the history
  • Loading branch information
cassc committed Feb 20, 2022
1 parent 4d3d05f commit fe7981d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/view/transaction_edit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class TransactionEditState extends State<TransactionEditPage> {
}

Widget _txTypeSelect() {
return SingleChoiceHolder([INCOME, EXPENSE], _tx.txType ?? INCOME,
return SingleChoiceHolder([INCOME, EXPENSE], _tx.txType ?? EXPENSE,
(choice) {
setState(() {
_tx.txType = choice;
Expand Down

0 comments on commit fe7981d

Please sign in to comment.