mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: fav note page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -18,11 +18,16 @@ class FavVideoPage extends StatefulWidget {
|
||||
State<FavVideoPage> createState() => _FavVideoPageState();
|
||||
}
|
||||
|
||||
class _FavVideoPageState extends State<FavVideoPage> {
|
||||
class _FavVideoPageState extends State<FavVideoPage>
|
||||
with AutomaticKeepAliveClientMixin {
|
||||
final FavController _favController = Get.find<FavController>();
|
||||
|
||||
@override
|
||||
bool get wantKeepAlive => true;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
super.build(context);
|
||||
return refreshIndicator(
|
||||
onRefresh: () async {
|
||||
await _favController.onRefresh();
|
||||
|
||||
Reference in New Issue
Block a user