mirror of
https://github.com/Mail-0/Zero.git
synced 2026-06-29 15:26:42 +00:00
The new implementation: - Uses a single `useHotkeys` call with an array of key combinations - Determines the appropriate category based on the pressed key - Handles toggling labels in a more centralized way <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Simplified hotkey handling for category selection by consolidating multiple hotkey registrations into a single, unified hotkey listener. * The '0' key now selects the 10th category instead of clearing all labels. <!-- end of auto-generated comment: release notes by coderabbit.ai -->