feat: select school terms and smooth refractive Dock motion
This commit is contained in:
@@ -5,6 +5,7 @@ import 'package:html/parser.dart' as html;
|
||||
|
||||
import '../../data/json_schedule_import.dart';
|
||||
import '../../domain/course.dart';
|
||||
import '../../domain/school_term.dart';
|
||||
import 'school_navigation_policy.dart';
|
||||
|
||||
class UnsupportedSchoolLayout implements Exception {
|
||||
@@ -112,6 +113,7 @@ class SchoolPageAdapter {
|
||||
source: source,
|
||||
parserVersion: 'uestc-graduate-html-v1',
|
||||
semesterLabel: selected.text.trim(),
|
||||
schoolTerm: SchoolTerm(int.parse(term)),
|
||||
);
|
||||
} on UnsupportedSchoolLayout {
|
||||
rethrow;
|
||||
|
||||
Reference in New Issue
Block a user