CCExtractor / CCExtractor/ultimate_alarm_clock
Bug: getTriggeredAlarm returns alarms.first without guarding empty results.
Aperta
bug
- Lingua principale
- Dart
- Stelle
- 112
- Fork
- 227
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Description
pass a time with no enabled alarms and it throws. Fix by returning nullable type (AlarmModel?) or throwing a controlled domain error when alarms.isEmpty.
### Screenshots
_No response_
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.