mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[apps] Fix bug: the title bar view does not display preferences in the
right language Change-Id: Ia95522a0fb0fd833fab2405fff92c4ae585459ed
This commit is contained in:
@@ -36,7 +36,6 @@ AppsContainer::AppsContainer() :
|
||||
m_probabilitySnapshot(),
|
||||
m_regressionSnapshot()
|
||||
{
|
||||
refreshPreferences();
|
||||
m_emptyBatteryWindow.setFrame(KDRect(0, 0, Ion::Display::Width, Ion::Display::Height));
|
||||
Poincare::Expression::setCircuitBreaker(AppsContainer::poincareCircuitBreaker);
|
||||
}
|
||||
@@ -159,6 +158,7 @@ void AppsContainer::run() {
|
||||
#if ON_BOARDING
|
||||
switchTo(onBoardingAppSnapshot());
|
||||
#else
|
||||
refreshPreferences();
|
||||
switchTo(appSnapshotAtIndex(0));
|
||||
#endif
|
||||
Container::run();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user