mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -28,7 +28,7 @@ class SubController
|
||||
}
|
||||
|
||||
// 取消订阅
|
||||
Future<void> cancelSub(SubFolderItemData subFolderItem) async {
|
||||
void cancelSub(SubFolderItemData subFolderItem) {
|
||||
showDialog(
|
||||
context: Get.context!,
|
||||
builder: (context) => AlertDialog(
|
||||
|
||||
@@ -27,9 +27,7 @@ class _SubPageState extends State<SubPage> {
|
||||
top: false,
|
||||
bottom: false,
|
||||
child: refreshIndicator(
|
||||
onRefresh: () async {
|
||||
await _subController.onRefresh();
|
||||
},
|
||||
onRefresh: _subController.onRefresh,
|
||||
child: CustomScrollView(
|
||||
slivers: [
|
||||
Obx(() => _buildBody(_subController.loadingState.value)),
|
||||
|
||||
Reference in New Issue
Block a user