mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[apps] Display the baterry icon view on the title bar
Change-Id: I3a1f2540151f7ecbfafaead346e673f694d8c0dd
This commit is contained in:
@@ -57,6 +57,8 @@ bool AppsContainer::handleEvent(Ion::Events::Event event) {
|
||||
|
||||
void AppsContainer::switchTo(App * app) {
|
||||
m_window.setTitle(app->name());
|
||||
// TODO: Update the battery icon every in a time frame
|
||||
m_window.updateBatteryLevel();
|
||||
Container::switchTo(app);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user