reworked home screen widgets to mirror the in-app timetable, hidden below android 12
This commit is contained in:
@@ -17,6 +17,7 @@ _WidgetLesson _$WidgetLessonFromJson(Map<String, dynamic> json) =>
|
||||
originalTeacher: json['originalTeacher'] as String?,
|
||||
status: $enumDecode(_$WidgetLessonStatusEnumMap, json['status']),
|
||||
customColor: json['customColor'] as String?,
|
||||
color: json['color'] as String?,
|
||||
siblingCount: (json['siblingCount'] as num?)?.toInt() ?? 0,
|
||||
);
|
||||
|
||||
@@ -31,6 +32,7 @@ Map<String, dynamic> _$WidgetLessonToJson(_WidgetLesson instance) =>
|
||||
'originalTeacher': instance.originalTeacher,
|
||||
'status': _$WidgetLessonStatusEnumMap[instance.status]!,
|
||||
'customColor': instance.customColor,
|
||||
'color': instance.color,
|
||||
'siblingCount': instance.siblingCount,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user