mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-14 03:25:25 -04:00
[EGD-7857] Renamed BottomBar to NavBar
Renamed BottomBar to NavBar.
This commit is contained in:
committed by
Przemysław Brudny
parent
588925f30a
commit
7597d38852
@@ -15,7 +15,7 @@ namespace app::notes
|
||||
bool NoteCreateWindow::onInput(const gui::InputEvent &inputEvent)
|
||||
{
|
||||
if (inputEvent.isShortRelease(gui::KeyCode::KEY_ENTER)) {
|
||||
if (!bottomBar->isActive(gui::BottomBar::Side::CENTER)) {
|
||||
if (!navBar->isActive(gui::nav_bar::Side::Center)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -25,6 +25,6 @@ namespace app::notes
|
||||
void NoteCreateWindow::onCharactersCountChanged(std::uint32_t count)
|
||||
{
|
||||
NoteEditWindow::onCharactersCountChanged(count);
|
||||
bottomBar->setActive(gui::BottomBar::Side::CENTER, count != 0U);
|
||||
navBar->setActive(gui::nav_bar::Side::Center, count != 0U);
|
||||
}
|
||||
} // namespace app::notes
|
||||
|
||||
Reference in New Issue
Block a user