add profile switched event

This commit is contained in:
Eduard Gert
2026-05-18 10:38:13 +02:00
parent 5bdccfe8f4
commit 32f62f3ed8
3 changed files with 20 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ func (s *stringList) Set(v string) error {
func init() {
application.RegisterEvent[services.Status](services.EventStatus)
application.RegisterEvent[services.SystemEvent](services.EventSystem)
application.RegisterEvent[services.ProfileRef](services.EventProfileChanged)
application.RegisterEvent[updater.State](updater.EventStateChanged)
application.RegisterEvent[preferences.UIPreferences](preferences.EventPreferencesChanged)
}