Navigation app now (since #1838) needs 2 images to be loaded from the resources on the external filesystem. This PR adds an enabled field to the Applications struct. This field is true for all applications expect for Navigation which calls Navigation::IsAvailable(). This methods returns true if the 2 files are available in the resources.
The application list disables the application (draws it in grey, disables the touch callback) if the enable flag is not set.
This implementation is similar than the one used by the Watchface Setting app.
Here is the result from the devkit and InfiniSim :
Add
IsAvailable()
to Navigation AppNavigation app now (since #1838) needs 2 images to be loaded from the resources on the external filesystem. This PR adds an
enabled
field to the Applications struct. This field is true for all applications expect for Navigation which callsNavigation::IsAvailable()
. This methods returns true if the 2 files are available in the resources.The application list disables the application (draws it in grey, disables the touch callback) if the enable flag is not set.
This implementation is similar than the one used by the Watchface Setting app.
Here is the result from the devkit and InfiniSim :