Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:flow-mn/flow into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sadespresso committed Oct 20, 2024
2 parents 6510469 + aeefd7c commit 0ddd4c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/objectbox/actions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ extension AccountActions on Account {
uuid: const Uuid().v4(),
fromAccountUuid: uuid,
toAccountUuid: targetAccount.uuid,
relatedTransactionUuid: toTransactionUuid,
relatedTransactionUuid: fromTransactionUuid,
);

final String resolvedTitle = title ??
Expand All @@ -540,7 +540,7 @@ extension AccountActions on Account {
title: resolvedTitle,
description: description,
extensions: [
transferData.copyWith(relatedTransactionUuid: fromTransactionUuid),
transferData.copyWith(relatedTransactionUuid: toTransactionUuid),
...filteredExtensions,
],
uuidOverride: toTransactionUuid,
Expand Down
5 changes: 4 additions & 1 deletion lib/routes/home/home_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,14 @@ class _HomeTabState extends State<HomeTab> with AutomaticKeepAliveClientMixin {
.where((transaction) => transaction.transactionDate.isAfter(now))
.groupByDate();

final bool shouldCombineTransferIfNeeded =
currentFilter.accounts?.isNotEmpty != true;

return GroupedTransactionList(
controller: widget.scrollController,
transactions: grouped,
futureTransactions: groupedFuture,
shouldCombineTransferIfNeeded: currentFilter.accounts?.isNotEmpty != true,
shouldCombineTransferIfNeeded: shouldCombineTransferIfNeeded,
futureDivider: const WavyDivider(),
listPadding: const EdgeInsets.only(
top: 0,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0+59"
version: "0.7.1+60"

environment:
sdk: ">=3.5.0 <4.0.0"
Expand Down

0 comments on commit 0ddd4c3

Please sign in to comment.