Meshtastic-Android icon indicating copy to clipboard operation
Meshtastic-Android copied to clipboard

feat: Allow unlocking excluded modules

Open jamesarich opened this issue 6 months ago • 0 comments

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 unlockExcludedModules function to UIState and RadioConfigRepository to manage the unlocked state.
  • Implemented RadioConfigMenuActions composable, which includes an invisible button to trigger the unlock functionality. This button is only active in the RadioConfig screen.
  • Updated RadioConfigScreen to observe the excludedModulesUnlocked state and display all modules if unlocked.
  • Added a new string resource modules_unlocked for a Toast message confirming the unlock action.

https://github.com/user-attachments/assets/7a5fd1ff-f7ca-40ef-b445-3211a5b861ba

jamesarich avatar Jun 20 '25 02:06 jamesarich