aboutsummaryrefslogtreecommitdiffstats
path: root/bootloader/ota-dfu-python/dfu.py
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@cherry.de>2025-05-24 23:42:23 +0200
committermark9064 <30447455+mark9064@users.noreply.github.com>2025-07-03 13:19:56 +0100
commit9afc23cba9bcf938d8c49d6e15e7662ee8e6385d (patch)
treea5a5bdfcfe45e4e47f14e0e4ccbddec06ccdb0a1 /bootloader/ota-dfu-python/dfu.py
parent250e7a703290753dd99feed401347dc7ba0bfeec (diff)
navigation: fix greying out the app icon if not enabled
Commit 0aead42fdf51 ("navigation: Add is available (#1847)") added the ability to draw the app icon in grey and in a disabled state when some prerequisits were not met. Only the Navigation app was using this mechanism due to its icons being stored in the external memory and possibly missing. Commit 63e0c4f4efb0 ("Application selection at build time") broke this by always setting the state as true: for (const auto& userApp : userApps) { apps[i++] = Screens::Tile::Applications {userApp.icon, userApp.app, true}; } Fix this by creating an isAvailable() strcuture in the app classes, similar to how the Watchfaces handle the same problem of checking availability.
Diffstat (limited to 'bootloader/ota-dfu-python/dfu.py')
0 files changed, 0 insertions, 0 deletions