} else if (appId && strcmp(appId, APP_CONTROL_PHONE_APPID) == 0) {
if (getBadgeCount(APP_CONTROL_PHONE_APPID) > 0) {
selectedTab = TabLogs;
+ static_cast<Logs::List::LogsView *>(m_Tabs[TabLogs])->resetMissedCalls();
} else {
selectedTab = getLastTab();
}
LogsView(FilterType filterType = FilterAll);
virtual ~LogsView() override;
+ /**
+ * @brief Reset missed calls
+ */
+ void resetMissedCalls();
+
private:
virtual Evas_Object *onCreate(Evas_Object *parent) override;
virtual void onCreated() override;
virtual void onMenuPressed() override;
virtual void onSelectAllInsert(Ui::GenlistItem *item) override;
- void resetMissedCalls();
void fillLayout();
void updateLayout(bool isEmpty);
Evas_Object *createNoContentsLayout(Evas_Object *parent);