mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -29,9 +29,7 @@ class _AtMePageState extends State<AtMePage> {
|
||||
title: const Text('@我的'),
|
||||
),
|
||||
body: refreshIndicator(
|
||||
onRefresh: () async {
|
||||
await _atMeController.onRefresh();
|
||||
},
|
||||
onRefresh: _atMeController.onRefresh,
|
||||
child: CustomScrollView(
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
|
||||
@@ -29,9 +29,7 @@ class _LikeMePageState extends State<LikeMePage> {
|
||||
title: const Text('收到的赞'),
|
||||
),
|
||||
body: refreshIndicator(
|
||||
onRefresh: () async {
|
||||
await _likeMeController.onRefresh();
|
||||
},
|
||||
onRefresh: _likeMeController.onRefresh,
|
||||
child: CustomScrollView(
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
|
||||
@@ -27,9 +27,7 @@ class _ReplyMePageState extends State<ReplyMePage> {
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: const Text('回复我的')),
|
||||
body: refreshIndicator(
|
||||
onRefresh: () async {
|
||||
await _replyMeController.onRefresh();
|
||||
},
|
||||
onRefresh: _replyMeController.onRefresh,
|
||||
child: CustomScrollView(
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
|
||||
@@ -27,7 +27,7 @@ class SysMsgController
|
||||
}
|
||||
}
|
||||
|
||||
Future msgSysUpdateCursor(int? cursor) async {
|
||||
void msgSysUpdateCursor(int? cursor) {
|
||||
if (cursor != null) {
|
||||
MsgHttp.msgSysUpdateCursor(cursor);
|
||||
}
|
||||
|
||||
@@ -34,9 +34,7 @@ class _SysMsgPageState extends State<SysMsgPage> {
|
||||
title: const Text('系统通知'),
|
||||
),
|
||||
body: refreshIndicator(
|
||||
onRefresh: () async {
|
||||
await _sysMsgController.onRefresh();
|
||||
},
|
||||
onRefresh: _sysMsgController.onRefresh,
|
||||
child: CustomScrollView(
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
|
||||
Reference in New Issue
Block a user