diff --git a/lib/screens/InitScreen.dart b/lib/screens/InitScreen.dart index bb8cdbf..1f125e1 100644 --- a/lib/screens/InitScreen.dart +++ b/lib/screens/InitScreen.dart @@ -1,5 +1,3 @@ -import 'dart:io'; - import 'package:flutter/material.dart'; import 'package:pikapika/basic/config/Address.dart'; import 'package:pikapika/basic/config/AndroidDisplayMode.dart'; diff --git a/lib/screens/components/CommentItem.dart b/lib/screens/components/CommentItem.dart index 90899a2..c744d55 100644 --- a/lib/screens/components/CommentItem.dart +++ b/lib/screens/components/CommentItem.dart @@ -14,10 +14,10 @@ class ComicCommentItem extends StatefulWidget { const ComicCommentItem(this.mainType, this.mainId, this.comment); @override - State createState() => _ComicCommentItem(); + State createState() => _ComicCommentItemState(); } -class _ComicCommentItem extends State { +class _ComicCommentItemState extends State { var likeLoading = false; @override diff --git a/lib/screens/components/ImageReader.dart b/lib/screens/components/ImageReader.dart index e2f8b19..04a01a9 100644 --- a/lib/screens/components/ImageReader.dart +++ b/lib/screens/components/ImageReader.dart @@ -820,7 +820,10 @@ class _SettingPanelState extends State<_SettingPanel> { _bottomIcon( icon: Icons.refresh, title: "重载页面", - onPressed: widget.onReloadEp, + onPressed: () { + Navigator.of(context).pop(); + widget.onReloadEp(); + }, ), _bottomIcon( icon: Icons.file_download,