Skip to content

Commit

Permalink
v1.0.24 - Improve language
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnie committed Jan 28, 2024
1 parent 2aa8c2c commit 7ce7b89
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/pages/add_info/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class _AddInfoPageState extends State<AddInfoPage> {
balance: 0,
currency: _currency.text,
liquid: false,
name: _name.text,
name: "Past",
hidden: true,
type: AccountType.income,
));
Expand Down
18 changes: 17 additions & 1 deletion lib/pages/home/accounts/account_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ class BankAccounts extends StatelessWidget {

return ListView(
children: [
const Padding(
padding: EdgeInsets.all(16.0),
child: Text("Assets and Liabilities"),
),
Visibility(
visible: mainAccounts.isEmpty,
child: const Center(
child: Text('Accounts yet to be set up'),
),
),
...mainAccounts.map(
(a) => BankAccountCardClickable(
account: a,
Expand All @@ -52,7 +62,13 @@ class BankAccounts extends StatelessWidget {
const Divider(),
const Padding(
padding: EdgeInsets.all(16.0),
child: Text("Income and Expense Accounts"),
child: Text("Incomes and Expenses"),
),
Visibility(
visible: extAccounts.isEmpty,
child: const Center(
child: Text('Accounts yet to be set up'),
),
),
Padding(
padding: const EdgeInsets.all(16.0),
Expand Down

0 comments on commit 7ce7b89

Please sign in to comment.