mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: RefreshIndicator
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:PiliPalaX/common/widgets/refresh_indicator.dart';
|
||||
import 'package:PiliPalaX/http/loading_state.dart';
|
||||
import 'package:PiliPalaX/pages/common/common_controller.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -61,7 +62,7 @@ class _BlackListPageState extends State<BlackListPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
body: RefreshIndicator(
|
||||
body: refreshIndicator(
|
||||
onRefresh: () async => await _blackListController.onRefresh(),
|
||||
child: Obx(() => _buildBody(_blackListController.loadingState.value)),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user