     var entry: CoursesEntry<ConfigureCoursesDayWidgetIntent.Configuration>
     
     @Environment(\.widgetFamily) var widgetFamily
+    @Environment(\.redactionReasons) var redactionReasons
     
     var isSmall: Bool {
         widgetFamily == .systemSmall

                        
                }
            } else {
                Text("Open the Penn Mobile app to see your courses on this widget.").multilineTextAlignment(.center)
            }
        }
        .frame(maxWidth: .infinity, maxHeight: .infinity)

struct CoursesDayWidget_Preview: PreviewProvider {
    static var previews: some View {
        Group {
            let configuration = ConfigureCoursesDayWidgetIntent.Configuration(background: .whiteGray)
            CoursesDayWidgetView(entry: CoursesEntry(date: Course.calendar.startOfDay(for: Date()), courses: dummyCourses, configuration: configuration))
                .previewContext(WidgetPreviewContext(family: .systemMedium))
                .previewDisplayName("Dummy courses")
