mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Substitute "app()->container()" by "AppsContainer::sharedAppsContainer()"
This commit is contained in:
committed by
EmilieNumworks
parent
268ad3f3ba
commit
eb3da7f395
@@ -24,8 +24,7 @@ bool ExamModeController::handleEvent(Ion::Events::Event event) {
|
||||
if (GlobalPreferences::sharedGlobalPreferences()->examMode() == GlobalPreferences::ExamMode::Activate) {
|
||||
return false;
|
||||
}
|
||||
AppsContainer * container = (AppsContainer *)(app()->container());
|
||||
container->displayExamModePopUp(true);
|
||||
AppsContainer::sharedAppsContainer()->displayExamModePopUp(true);
|
||||
return true;
|
||||
}
|
||||
return GenericSubController::handleEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user