Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-27 20:54:41 +08:00
parent 25acf3a9bb
commit b51c646415
227 changed files with 768 additions and 764 deletions

View File

@@ -150,7 +150,7 @@ class _WhisperDetailPageState
Widget _buildBody(LoadingState<List<Msg>?> loadingState) {
return switch (loadingState) {
Loading() => loadingWidget,
Success(:var response) =>
Success(:final response) =>
response != null && response.isNotEmpty
? ListView.separated(
shrinkWrap: true,
@@ -180,7 +180,7 @@ class _WhisperDetailPageState
const SizedBox(height: 12),
)
: scrollErrorWidget(onReload: _whisperDetailController.onReload),
Error(:var errMsg) => scrollErrorWidget(
Error(:final errMsg) => scrollErrorWidget(
errMsg: errMsg,
onReload: _whisperDetailController.onReload,
),