Skip to content

Commit

Permalink
Shared - Build Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Feb 12, 2024
1 parent c6152b0 commit eda1788
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libdenaro/src/models/account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ namespace Nickvision::Money::Shared::Models
{
return;
}
metadata = m_metadata;
m_metadata = metadata;
//TODO: Update database
}

Expand All @@ -163,7 +163,7 @@ namespace Nickvision::Money::Shared::Models
return m_groups;
}

const std::vector<std::string>& getTags() const
const std::vector<std::string>& Account::getTags() const
{
return m_tags;
}
Expand Down Expand Up @@ -197,7 +197,7 @@ namespace Nickvision::Money::Shared::Models
Account accountToSend{ transfer.getDestinationAccountPath() };
if(accountToSend.login(transfer.getDestinationAccountPassword()))
{
accountToSend.receiveTransfer(transfer);
accountToSend.receiveTransfer(transfer, color);
Transaction expense{ m_nextAvailableTransactionId };
expense.setDescription(std::vformat(_("Transfer to {}"), std::make_format_args(accountToSend.getMetadata().getName())));
expense.setType(TransactionType::Expense);
Expand Down

0 comments on commit eda1788

Please sign in to comment.