chore: add loading indicator to course settings page (#4137)

This commit is contained in:
ggurdin 2025-09-25 12:25:39 -04:00 committed by GitHub
parent fcd40ba40b
commit 68a9ec58ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,6 +64,10 @@ class CourseSettingsState extends State<CourseSettings>
@override
Widget build(BuildContext context) {
if (controller.loading) {
return const Center(child: CircularProgressIndicator.adaptive());
}
if (controller.course == null || controller.error != null) {
return room.canChangeStateEvent(PangeaEventTypes.coursePlan)
? Column(