Put things out of loop

This commit is contained in:
jpirnay committed 2026-04-08 14:43:16 +02:00
1 parent 07906853d6
commit e719d3d457
4 files changed
+12 -27

No files matched your search

+1 -4
View File
@@ -220,10 +220,7 @@ void WeatherActivity::onExit() {
Activity::onExit();
// Weather screen is always landscape; restore app UI to portrait on exit.
{
RenderLock lock(*this);
renderer.setOrientation(GfxRenderer::Orientation::Portrait);
}
renderer.setOrientation(GfxRenderer::Orientation::Portrait);
WiFi.mode(WIFI_OFF);
}