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

@@ -162,7 +162,6 @@ class _AtMePageState extends State<AtMePage> {
errMsg: loadingState.errMsg,
onReload: _atMeController.onReload,
),
LoadingState() => throw UnimplementedError(),
};
}
}

View File

@@ -123,7 +123,6 @@ class _LikeMePageState extends State<LikeMePage> {
errMsg: loadingState.errMsg,
onReload: _likeMeController.onReload,
),
LoadingState() => throw UnimplementedError(),
};
}

View File

@@ -183,7 +183,6 @@ class _ReplyMePageState extends State<ReplyMePage> {
errMsg: loadingState.errMsg,
onReload: _replyMeController.onReload,
),
LoadingState() => throw UnimplementedError(),
};
}
}

View File

@@ -143,7 +143,6 @@ class _SysMsgPageState extends State<SysMsgPage> {
errMsg: loadingState.errMsg,
onReload: _sysMsgController.onReload,
),
LoadingState() => throw UnimplementedError(),
};
}