This PR aims to test the TransactionsManager class in the CashBud repository and remove unnecessary code related to sorting transactions and icon strings. The modifications include adding logging statements for debugging purposes in the calculateMonthlyCosts method of the TransactionsManager class, removing the sortTransactions method from the TransactionsListViewModel class, and removing the calculation of revenue and expenses in the calculateValues method of the OverviewViewModel class and the calculation of revenueSum and expensesSum in the ChartViewModel class.
Summary of Changes
Modified CashBud/Manager/TransactionsManager.swift to include additional logging statements in the calculateMonthlyCosts method.
Removed the sortTransactions method from CashBud/Scenes/TransactionsList/TransactionsListViewModel.swift.
Removed the calculation of revenue and expenses in CashBud/Scenes/Overview/OverviewViewModel.swift.
Removed the calculation of revenueSum and expensesSum in CashBud/Scenes/Charts/ChartViewModel.swift.
Fixes #98.
🎉 Latest improvements to Sweep:
Sweep can now passively improve your repository! Check out Rules to learn more.
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code to only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
PR Feedback (click)
Description
This PR aims to test the
TransactionsManager
class in the CashBud repository and remove unnecessary code related to sorting transactions and icon strings. The modifications include adding logging statements for debugging purposes in thecalculateMonthlyCosts
method of theTransactionsManager
class, removing thesortTransactions
method from theTransactionsListViewModel
class, and removing the calculation ofrevenue
andexpenses
in thecalculateValues
method of theOverviewViewModel
class and the calculation ofrevenueSum
andexpensesSum
in theChartViewModel
class.Summary of Changes
CashBud/Manager/TransactionsManager.swift
to include additional logging statements in thecalculateMonthlyCosts
method.sortTransactions
method fromCashBud/Scenes/TransactionsList/TransactionsListViewModel.swift
.revenue
andexpenses
inCashBud/Scenes/Overview/OverviewViewModel.swift
.revenueSum
andexpensesSum
inCashBud/Scenes/Charts/ChartViewModel.swift
.Fixes #98.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: