fix: search (#1412)

This commit is contained in:
My-Responsitories
2025-10-01 21:29:08 +08:00
committed by GitHub
parent e1944b0c8d
commit 4e15422d2d
4 changed files with 41 additions and 29 deletions

View File

@@ -4,7 +4,7 @@ import 'package:get/get.dart';
class SearchResultController extends GetxController {
String keyword = Get.parameters['keyword'] ?? '';
RxList<int> count = List.generate(SearchType.values.length, (_) => -1).obs;
RxList<int> count = List.filled(SearchType.values.length, -1).obs;
RxInt toTopIndex = (-1).obs;