diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a16fbe4..7b197c8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - About app: show MicroPythonOS logo at the top - AppStore app: fix BadgeHub backend handling - OSUpdate app: eliminate requests library +- Settings app: make "Cancel" button more "ghosty" to discourage accidental misclicks - Remove dependency on micropython-esp32-ota library - Remove dependency on traceback library - Show new MicroPythonOS logo at boot diff --git a/internal_filesystem/lib/mpos/ui/camera_settings.py b/internal_filesystem/lib/mpos/ui/camera_settings.py index 83db9d2b..1089674e 100644 --- a/internal_filesystem/lib/mpos/ui/camera_settings.py +++ b/internal_filesystem/lib/mpos/ui/camera_settings.py @@ -257,6 +257,7 @@ class CameraSettingsActivity(Activity): cancel_button = lv.button(button_cont) cancel_button.set_size(DisplayMetrics.pct_of_width(25), lv.SIZE_CONTENT) + cancel_button.set_style_opa(lv.OPA._70, lv.PART.MAIN) if self.scanqr_mode: cancel_button.align(lv.ALIGN.BOTTOM_MID, DisplayMetrics.pct_of_width(10), 0) else: diff --git a/internal_filesystem/lib/mpos/ui/setting_activity.py b/internal_filesystem/lib/mpos/ui/setting_activity.py index 16f621ec..a85b319c 100644 --- a/internal_filesystem/lib/mpos/ui/setting_activity.py +++ b/internal_filesystem/lib/mpos/ui/setting_activity.py @@ -104,6 +104,7 @@ class SettingActivity(Activity): # Cancel button cancel_btn = lv.button(btn_cont) cancel_btn.set_size(lv.pct(45), lv.SIZE_CONTENT) + cancel_btn.set_style_opa(lv.OPA._70, lv.PART.MAIN) cancel_label = lv.label(cancel_btn) cancel_label.set_text("Cancel") cancel_label.center()