~aleteoryx/muditaos

afde31ddb86615562f6e1798532a4d643156ccb2 — Pawel.Paprocki 5 years ago 269efac
[EGD-6271] Fix Calllog does not correspond changes in PhoneBook

Synchronize caller name with ContactDB
1 files changed, 3 insertions(+), 0 deletions(-)

M module-apps/application-calllog/CalllogModel.cpp
M module-apps/application-calllog/CalllogModel.cpp => module-apps/application-calllog/CalllogModel.cpp +3 -0
@@ 75,6 75,9 @@ gui::ListItem *CalllogModel::getItem(gui::Order order)
        return nullptr;
    }

    auto contact = DBServiceAPI::ContactGetByIDWithTemporary(application, call->getContactId());
    call->name   = contact->front().getFormattedName();

    auto item = new gui::CalllogItem(this, !(utils::dateAndTimeSettings.isTimeFormat12()));

    auto callCallback = [this, item](gui::Item & /*item*/, const gui::InputEvent &event) {