[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

@@ -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();