mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-27 22:22:00 +08:00
This commit refactors the PreferenceService to improve type safety for preference handling and updates the listener management system. It renames methods for clarity, ensuring that preference changes are properly notified to all relevant listeners. Additionally, the usePreference hook is updated to align with these changes, enhancing the overall consistency and reliability of preference management in the application. |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||