Add feedback service, reminder diagnostics and smooth week transitions
This commit is contained in:
@@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
|
||||
import '../../app/app_controller.dart';
|
||||
import '../../app/app_theme.dart';
|
||||
import '../../domain/schedule_engine.dart';
|
||||
import '../../widgets/directional_week_transition.dart';
|
||||
import '../profile/settings_page.dart';
|
||||
import 'week_grid.dart';
|
||||
|
||||
@@ -170,14 +171,18 @@ class _TimetablePageState extends State<TimetablePage> {
|
||||
),
|
||||
),
|
||||
if (term != null) ...[
|
||||
WeekGrid(
|
||||
events: ScheduleEngine.occurrences(
|
||||
c.visibleCourses,
|
||||
term,
|
||||
).where((e) => e.week == week).toList(),
|
||||
monday: monday,
|
||||
today: today,
|
||||
settings: c.visibleSettings,
|
||||
DirectionalWeekTransition(
|
||||
key: ValueKey((c.isDemo, term.firstMonday, term.totalWeeks)),
|
||||
week: week,
|
||||
child: WeekGrid(
|
||||
events: ScheduleEngine.occurrences(
|
||||
c.visibleCourses,
|
||||
term,
|
||||
).where((e) => e.week == week).toList(),
|
||||
monday: monday,
|
||||
today: today,
|
||||
settings: c.visibleSettings,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
|
||||
Reference in New Issue
Block a user