mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
@@ -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