[apps] Fix bug: the title bar view does not display preferences in the

right language

Change-Id: Ia95522a0fb0fd833fab2405fff92c4ae585459ed
This commit is contained in:
Émilie Feral
2017-06-07 16:59:27 +02:00
parent c2683ba8a1
commit 5221d13e55
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ bool UpdateController::handleEvent(Ion::Events::Event event) {
app()->dismissModalViewController();
AppsContainer * appsContainer = (AppsContainer *)app()->container();
if (appsContainer->activeApp()->snapshot() == appsContainer->onBoardingAppSnapshot()) {
appsContainer->refreshPreferences();
appsContainer->switchTo(appsContainer->appSnapshotAtIndex(0));
}
return true;