From e83929e9cba832f39c3320ca299ba2c0b5526c99 Mon Sep 17 00:00:00 2001 From: Batmend Ganbaatar Date: Mon, 22 Apr 2024 00:46:11 +0800 Subject: [PATCH 1/2] show currency edit only on new accounts --- lib/routes/account/account_edit_page.dart | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/routes/account/account_edit_page.dart b/lib/routes/account/account_edit_page.dart index 32c8244..e22b5d8 100644 --- a/lib/routes/account/account_edit_page.dart +++ b/lib/routes/account/account_edit_page.dart @@ -229,14 +229,15 @@ class _AccountEditPageState extends State { title: Text("account.excludeFromTotalBalance".t(context)), activeColor: context.colorScheme.primary, ), - ListTile( - title: Text("currency".t(context)), - trailing: Text( - _currency, - style: context.textTheme.labelLarge, + if (widget.isNewAccount) + ListTile( + title: Text("currency".t(context)), + trailing: Text( + _currency, + style: context.textTheme.labelLarge, + ), + onTap: selectCurrency, ), - onTap: selectCurrency, - ), if (_currentlyEditing != null) ...[ const SizedBox(height: 80.0), DeleteButton( From b1ab686981a5e6b34bd0c2bd07b1b8b3d3ebf43d Mon Sep 17 00:00:00 2001 From: Batmend Ganbaatar Date: Mon, 22 Apr 2024 00:46:32 +0800 Subject: [PATCH 2/2] hotfix: version 44 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index f3a03ee..b69f48e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A personal finance managing app publish_to: "none" # Remove this line if you wish to publish to pub.dev -version: "0.5.1+43" +version: "0.5.1+44" environment: sdk: ">=3.1.3 <4.0.0"