Skip to content

Commit

Permalink
fix: Insufficient accounts warn showing incorrectly before making tra…
Browse files Browse the repository at this point in the history
…nsfers (#91)
  • Loading branch information
sulthanalihsan authored Dec 2, 2023
1 parent 8db54fa commit 5a13cbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<br />
<div align="center">
<a href="https://github.com/othneildrew/Best-README-Template">
<img src="assets/resources/appIcon.png" alt="App Icon" width="100" height="100">
<img src="assets/resources/appIcon-with-margin.png" alt="App Icon" width="100" height="100">
</a>

<h1 align="center">Monekin - Official repository</h1>
Expand Down
3 changes: 1 addition & 2 deletions lib/app/accounts/account_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ class _AccountDetailsPageState extends State<AccountDetailsPage> {

final numberOfAccounts = (await AccountService.instance
.getAccounts(
predicate: (acc, curr) =>
acc.closingDate.isNotNull(),
predicate: (acc, curr) => acc.closingDate.isNull(),
)
.first)
.length;
Expand Down

0 comments on commit 5a13cbe

Please sign in to comment.