Put things out of loop

This commit is contained in:
jpirnay
2026-04-08 14:43:16 +02:00
parent 07906853d6
commit e719d3d457
4 changed files with 12 additions and 27 deletions
+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);
}