M products/BellHybrid/apps/application-bell-background-sounds/windows/BGSoundsProgressWindow.cpp => products/BellHybrid/apps/application-bell-background-sounds/windows/BGSoundsProgressWindow.cpp +1 -0
@@ 105,6 105,7 @@ namespace gui
progressBar = createProgress(vBox);
timerText = createTimer(body->lastBox);
time = createClock(body->firstBox);
+ updateTime();
body->firstBox->resizeItems();
vBox->resizeItems();
M products/BellHybrid/apps/application-bell-meditation-timer/windows/MeditationRunningWindow.cpp => products/BellHybrid/apps/application-bell-meditation-timer/windows/MeditationRunningWindow.cpp +1 -0
@@ 96,6 96,7 @@ namespace gui
time = new BellStatusClock(body->firstBox);
time->setMaximumSize(body->firstBox->getWidth(), body->firstBox->getHeight());
time->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Top));
+ updateTime();
body->firstBox->resizeItems();
dimensionChangedCallback = [&](Item &, const BoundingBox &newDim) -> bool {
M products/BellHybrid/apps/application-bell-powernap/presenter/PowerNapProgressPresenter.cpp => products/BellHybrid/apps/application-bell-powernap/presenter/PowerNapProgressPresenter.cpp +0 -1
@@ 43,7 43,6 @@ namespace app::powernap
void PowerNapProgressPresenter::activate()
{
Expects(timer != nullptr);
- getView()->setTimeFormat(timeModel->getTimeFormat());
const auto value = settings->getValue(powernapDBRecordName);
timer->reset(std::chrono::minutes{utils::getNumericValue<int>(value)});
timer->start();
M products/BellHybrid/apps/application-bell-powernap/windows/PowerNapProgressWindow.cpp => products/BellHybrid/apps/application-bell-powernap/windows/PowerNapProgressWindow.cpp +2 -0
@@ 65,6 65,7 @@ namespace gui
void PowerNapProgressWindow::buildInterface()
{
AppWindow::buildInterface();
+
buildLayout();
configureTimer();
presenter->activate();
@@ 83,6 84,7 @@ namespace gui
time = new BellStatusClock(body->firstBox);
time->setMaximumSize(body->firstBox->getWidth(), body->firstBox->getHeight());
time->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Top));
+ updateTime();
body->firstBox->resizeItems();
dimensionChangedCallback = [&](Item &, const BoundingBox &newDim) -> bool {