From 2b4e57b257510fda37ead457b92abfef53d1a071 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Tue, 2 Dec 2025 20:59:24 +0100 Subject: [PATCH] Camera app: fix status label visibility --- CHANGELOG.md | 1 + .../apps/com.micropythonos.camera/assets/camera_app.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f006759e..15cfd405 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - API: improve and cleanup animations - API: SharedPreferences: add erase_all() function - API: add defaults handling to SharedPreferences and only save non-defaults +- API: restore sys.path after starting app - About app: add free, used and total storage space info - AppStore app: remove unnecessary scrollbar over publisher's name - Camera app: massive overhaul! diff --git a/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py b/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py index 26faadb7..23675283 100644 --- a/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py +++ b/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py @@ -329,8 +329,7 @@ class CameraApp(Activity): self.scanqr_mode = False self.qr_label.set_text(lv.SYMBOL.EYE_OPEN) status_label_text = self.status_label.get_text() - if status_label_text in (self.STATUS_NO_CAMERA or self.STATUS_SEARCHING_QR or self.STATUS_FOUND_QR): # if it found a QR code, leave it - print(f"status label text {status_label_text} is a known message, not a QR code, hiding it...") + if status_label_text in (self.STATUS_NO_CAMERA, self.STATUS_SEARCHING_QR, self.STATUS_FOUND_QR): # if it found a QR code, leave it self.status_label_cont.add_flag(lv.obj.FLAG.HIDDEN) # Check if it's necessary to restart the camera: oldwidth = self.width