mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps] Display the preferences in the title bar
Change-Id: Ib1defef85b68a48f667127c583901b659db1cbaf
This commit is contained in:
@@ -18,6 +18,10 @@ void AppsWindow::updateBatteryLevel() {
|
||||
m_titleBarView.setChargeState(Ion::Battery::Charge::EMPTY);
|
||||
}
|
||||
|
||||
void AppsWindow::refreshPreferences(Preferences * preferences) {
|
||||
m_titleBarView.setPreferences(preferences);
|
||||
}
|
||||
|
||||
int AppsWindow::numberOfSubviews() const {
|
||||
return (m_contentView == nullptr ? 1 : 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user