Skip to content

Commit

Permalink
fix known balance
Browse files Browse the repository at this point in the history
  • Loading branch information
VibeNL committed Dec 2, 2024
1 parent 42bfb6d commit 568716a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GhostfolioSidekick/Activities/ActivityManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private static Activity GenerateActivity(
case PartialActivityType.CashWithdrawal:
return new CashDepositWithdrawalActivity(account, null, date, totalTransactionAmount.Times(-1), transactionId, sortingPriority, description);
case PartialActivityType.KnownBalance:
return new KnownBalanceActivity(account, null, date, money, transactionId, sortingPriority, description);
return new KnownBalanceActivity(account, null, date, money.Times(amount), transactionId, sortingPriority, description);
case PartialActivityType.Valuable:
return new ValuableActivity(account, null, partialSymbolIdentifiers, date, totalTransactionAmount, transactionId, sortingPriority, description);
case PartialActivityType.Liability:
Expand Down

0 comments on commit 568716a

Please sign in to comment.