Skip to content

Commit

Permalink
v1.0.16 - Fix Net Worth calculation (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnie committed Jan 14, 2024
1 parent 2a7e188 commit df4db30
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions lib/pages/home/entries/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,10 @@ class EntriesPageState extends State<EntriesPage> {
onDestinationSelected: updateBody,
),
floatingActionButton: VariableFABSize(
onPressed: () async {
await context.pushNamed(
RoutesName.addEntry.name,
extra: loadEntries,
);
},
onPressed: () => context.pushNamed(
RoutesName.addEntry.name,
extra: loadEntries,
),
icon: Icons.add,
),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/home/frame/mobile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SummaryPageState extends State<SummaryPage> {
double liquid = await _accountService.getTotalBalance(liquid: true);
setState(() {
currency = prefCurrency;
networthAmount = asset - liabilities;
networthAmount = asset + liabilities;
liabilitiesAmount = liabilities;
assetAmount = asset;
liquidAmount = liquid;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: finease
description: "A full stack mobile app to keep track of financial transactions"
publish_to: 'none'
version: 1.0.15
version: 1.0.16

environment:
sdk: '>=3.2.3 <4.0.0'
Expand Down

0 comments on commit df4db30

Please sign in to comment.