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

@@ -57,7 +57,7 @@ class _SearchVideoPanelState
scrollDirection: Axis.horizontal,
child: Wrap(
children: [
for (var e in ArchiveFilterType.values)
for (final e in ArchiveFilterType.values)
Obx(
() => SearchText(
fontSize: 13,

View File

@@ -59,11 +59,11 @@ abstract class CommonSearchPanelState<
Widget _buildBody(ThemeData theme, LoadingState<List<T>?> loadingState) {
return switch (loadingState) {
Loading() => buildLoading,
Success(:var response) =>
Success(:final response) =>
response != null && response.isNotEmpty
? buildList(theme, response)
: HttpError(onReload: controller.onReload),
Error(:var errMsg) => HttpError(
Error(:final errMsg) => HttpError(
errMsg: errMsg,
onReload: controller.onReload,
),