Skip to content

Commit eda1788

Browse files
committed
Shared - Build Fixes
1 parent c6152b0 commit eda1788

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libdenaro/src/models/account.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ namespace Nickvision::Money::Shared::Models
154154
{
155155
return;
156156
}
157-
metadata = m_metadata;
157+
m_metadata = metadata;
158158
//TODO: Update database
159159
}
160160

@@ -163,7 +163,7 @@ namespace Nickvision::Money::Shared::Models
163163
return m_groups;
164164
}
165165

166-
const std::vector<std::string>& getTags() const
166+
const std::vector<std::string>& Account::getTags() const
167167
{
168168
return m_tags;
169169
}
@@ -197,7 +197,7 @@ namespace Nickvision::Money::Shared::Models
197197
Account accountToSend{ transfer.getDestinationAccountPath() };
198198
if(accountToSend.login(transfer.getDestinationAccountPassword()))
199199
{
200-
accountToSend.receiveTransfer(transfer);
200+
accountToSend.receiveTransfer(transfer, color);
201201
Transaction expense{ m_nextAvailableTransactionId };
202202
expense.setDescription(std::vformat(_("Transfer to {}"), std::make_format_args(accountToSend.getMetadata().getName())));
203203
expense.setType(TransactionType::Expense);

0 commit comments

Comments
 (0)