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

@@ -24,10 +24,7 @@ class SearchTrendingPage extends StatefulWidget {
}
class _SearchTrendingPageState extends State<SearchTrendingPage> {
final _controller = Get.put(
SearchTrendingController(),
tag: Get.parameters['tag'],
);
final _controller = Get.putOrFind(SearchTrendingController.new);
late double _offset;
final RxDouble _scrollRatio = 0.0.obs;