Add Reload Field to CwtchStarted event
This commit is contained in:
parent
6618410cc9
commit
83c84b2049
|
@ -247,7 +247,7 @@ func ReconnectCwtchForeground() {
|
||||||
|
|
||||||
settingsJson, _ := json.Marshal(application.ReadSettings())
|
settingsJson, _ := json.Marshal(application.ReadSettings())
|
||||||
application.GetPrimaryBus().Publish(event.NewEvent(settings.UpdateGlobalSettings, map[event.Field]string{event.Data: string(settingsJson)}))
|
application.GetPrimaryBus().Publish(event.NewEvent(settings.UpdateGlobalSettings, map[event.Field]string{event.Data: string(settingsJson)}))
|
||||||
application.GetPrimaryBus().Publish(event.NewEvent(settings.CwtchStarted, map[event.Field]string{}))
|
application.GetPrimaryBus().Publish(event.NewEvent(settings.CwtchStarted, map[event.Field]string{utils.ReloadEvent: event.True}))
|
||||||
application.QueryACNStatus()
|
application.QueryACNStatus()
|
||||||
application.QueryACNVersion()
|
application.QueryACNVersion()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue