Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • get-base-ref-size-bash-shell
  • update-clang-format
  • button-unlock_neroburner
  • checkboxlist_for_settingWakeUp
  • patch/1.14.1
  • remove-watchface-enum
  • display-spi-flash-id-in-systeminfo
  • continuous-time-update-alternative-implementation
  • restore-brightness-level-when-closing-flashlight
  • emit-ble-radio-toggle-only-if-setting-changed
  • weather-service-improvements
  • update-bootloader-documentation
  • documentation-reorganization
  • power-optimization-increase-system-task-period
  • fosdem-2023-edition
  • update-to-gcc12
  • better-hardware-abstraction-using-concepts
  • bootloader-doc
  • reduce-ram-overhead
  • 1.15.0
  • 1.14.1
  • 1.14.0
  • 1.13.0
  • 1.12.0
  • 1.11.0-fosdem-edition
  • 1.11.0
  • 1.10.0
  • 1.9.0
  • 1.8.0
  • 1.7.1
  • 1.7.0
  • 1.6.0
  • 1.5.0
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 1.0.0-RC4
40 results

InfiniTime

user avatar
Heiko Stuebner authored and mark9064 committed
Commit 0aead42f ("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 63e0c4f4 ("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.
9afc23cb
History
Name Last commit Last update