[EGD-7408] Phonebook empty list fix

Fixed phonebook empty list. Added deep refresh
for other empty lists.
This commit is contained in:
Przemyslaw Brudny
2021-09-09 17:07:57 +02:00
committed by Przemysław Brudny
parent b5f580aaf4
commit ba863035e5
9 changed files with 40 additions and 15 deletions

View File

@@ -98,6 +98,7 @@ namespace app::notes
bottomBar->setActive(gui::BottomBar::Side::CENTER, false);
emptyListIcon->setVisible(true);
header->navigationIndicatorRemove(gui::header::BoxSelection::Right);
application->refreshWindow(gui::RefreshModes::GUI_REFRESH_DEEP);
}
void NoteMainWindow::onListFilled()
@@ -106,6 +107,7 @@ namespace app::notes
bottomBar->setActive(gui::BottomBar::Side::CENTER, true);
emptyListIcon->setVisible(false);
header->navigationIndicatorAdd(new gui::header::SearchAction(), gui::header::BoxSelection::Right);
application->refreshWindow(gui::RefreshModes::GUI_REFRESH_DEEP);
}
bool NoteMainWindow::onInput(const gui::InputEvent &inputEvent)