Meshtastic-Android
Meshtastic-Android copied to clipboard
feat: Allow unlocking excluded modules
This commit introduces a feature to unlock excluded modules in the RadioConfig screen.
By tapping 5 times on an invisible button in the app bar when on the Radio Config screen, users can now access and configure modules that were previously hidden based on device metadata.
Specific changes:
- Added
unlockExcludedModulesfunction toUIStateandRadioConfigRepositoryto manage the unlocked state. - Implemented
RadioConfigMenuActionscomposable, which includes an invisible button to trigger the unlock functionality. This button is only active in the RadioConfig screen. - Updated
RadioConfigScreento observe theexcludedModulesUnlockedstate and display all modules if unlocked. - Added a new string resource
modules_unlockedfor a Toast message confirming the unlock action.
https://github.com/user-attachments/assets/7a5fd1ff-f7ca-40ef-b445-3211a5b861ba