refactor: Use NormalPermamentAlert for user flag alert

pull/34920/head
David 2 weeks ago
parent 9baf21ee3a
commit f8f33e58c3
  1. 7
      selfdrive/selfdrived/events.py

@ -978,12 +978,7 @@ EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = {
},
EventName.userFlag: {
ET.PERMANENT: Alert(
"Bookmark Saved",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOW, VisualAlert.none, AudibleAlert.none, 1.5
),
ET.PERMANENT: NormalPermanentAlert("Bookmark Saved", duration=1.5),
},
}

Loading…
Cancel
Save