reload reader pop

This commit is contained in:
niuhuan 2022-01-12 16:36:37 +08:00
parent 83a49cd2e3
commit ad8b27bc5e
3 changed files with 6 additions and 5 deletions

View File

@ -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';

View File

@ -14,10 +14,10 @@ class ComicCommentItem extends StatefulWidget {
const ComicCommentItem(this.mainType, this.mainId, this.comment);
@override
State<StatefulWidget> createState() => _ComicCommentItem();
State<StatefulWidget> createState() => _ComicCommentItemState();
}
class _ComicCommentItem extends State<ComicCommentItem> {
class _ComicCommentItemState extends State<ComicCommentItem> {
var likeLoading = false;
@override

View File

@ -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,