UI/UX improvements for small screen devices (#340)

- Improved UI/UX of various WiFi apps to make it compatible with Cardputer.
- Improved UI/UX of Serial Console to make it compatible with Cardputer.
- Boot app now shows a smaller logo on Cardputer
- CrashDiagnostics app: Use different text if no touch screen is present
This commit is contained in:
Ken Van Hoeylandt
2025-09-20 00:19:29 +02:00
committed by GitHub
parent faab6d825f
commit 41ad569154
17 changed files with 386 additions and 283 deletions
@@ -67,7 +67,7 @@ void WifiConnect::unlock() {
void WifiConnect::requestViewUpdate() {
lock();
if (view_enabled) {
if (viewEnabled) {
if (lvgl::lock(1000)) {
view.update();
lvgl::unlock();
@@ -80,7 +80,7 @@ void WifiConnect::requestViewUpdate() {
void WifiConnect::onShow(AppContext& app, lv_obj_t* parent) {
lock();
view_enabled = true;
viewEnabled = true;
view.init(app, parent);
view.update();
unlock();
@@ -89,7 +89,7 @@ void WifiConnect::onShow(AppContext& app, lv_obj_t* parent) {
void WifiConnect::onHide(TT_UNUSED AppContext& app) {
// No need to lock view, as this is called from within Gui's LVGL context
lock();
view_enabled = false;
viewEnabled = false;
unlock();
}