removed taskid from alarm

This commit is contained in:
2026-07-20 13:41:55 +02:00
parent 79cae9570d
commit e7d6735d27
+1 -2
View File
@@ -4,7 +4,6 @@ import 'relative_time_alarm.dart';
abstract class Alarm { abstract class Alarm {
String get id; String get id;
String get taskId;
AlarmType get alarmType; AlarmType get alarmType;
Map<String, dynamic> toJson(); Map<String, dynamic> toJson();
@@ -31,7 +30,7 @@ abstract class Alarm {
} }
@override @override
int get hashCode => taskId.hashCode; int get hashCode => id.hashCode;
} }
enum AlarmType { timeFixed, timeRelative, location } enum AlarmType { timeFixed, timeRelative, location }