reload reader pop
This commit is contained in:
parent
83a49cd2e3
commit
ad8b27bc5e
|
@ -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';
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue