Skip to content

Commit

Permalink
Chore: Revert microtask statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ntut-xuan committed Feb 28, 2024
1 parent 8ce06b3 commit 1280b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/pages/coursedetail/screen/course_info_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ class _CourseInfoPageState extends State<CourseInfoPage> with AutomaticKeepAlive
super.initState();
isLoading = true;
BackButtonInterceptor.add(myInterceptor);
Future.microtask(() => _loadCourseStudent());
Future.delayed(Duration.zero, () {
_addTask();
});
Future.microtask(() => _loadCourseStudent());
}

@override
Expand Down

0 comments on commit 1280b7d

Please sign in to comment.