Minor changes I forgot to commit previously
This commit is contained in:
@@ -21,7 +21,11 @@ namespace NightScout
|
||||
|
||||
private void SetupEvents()
|
||||
{
|
||||
DataSource.Connected += () => DataSource.Authorize();
|
||||
DataSource.Connected += () =>
|
||||
{
|
||||
DataSource.Authorize();
|
||||
|
||||
}
|
||||
DataSource.Alarm += (alarm) => Alerter.StartAlert();
|
||||
DataSource.UrgentAlarm += (alarm) => Alerter.StartUrgentAlert();
|
||||
DataSource.ClearAlarm += (alarm) => Alerter.StopAlerts();
|
||||
|
||||
Reference in New Issue
Block a user