opt: sealed LoadingState (#765)

This commit is contained in:
My-Responsitories
2025-04-27 22:17:36 +08:00
committed by GitHub
parent d4d1602b45
commit bb6bd95e9b
54 changed files with 16 additions and 61 deletions

View File

@@ -113,7 +113,6 @@ class _FollowChildPageState extends State<FollowChildPage>
errMsg: loadingState.errMsg,
onReload: _followController.onReload,
),
_ => throw UnimplementedError(),
};
}

View File

@@ -147,7 +147,6 @@ class _FollowPageState extends State<FollowPage> {
),
Error() => FollowChildPage(
controller: _followController, mid: _followController.mid),
_ => throw UnimplementedError(),
};
}