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:flutter/material.dart';
|
||||||
import 'package:pikapika/basic/config/Address.dart';
|
import 'package:pikapika/basic/config/Address.dart';
|
||||||
import 'package:pikapika/basic/config/AndroidDisplayMode.dart';
|
import 'package:pikapika/basic/config/AndroidDisplayMode.dart';
|
||||||
|
|
|
@ -14,10 +14,10 @@ class ComicCommentItem extends StatefulWidget {
|
||||||
const ComicCommentItem(this.mainType, this.mainId, this.comment);
|
const ComicCommentItem(this.mainType, this.mainId, this.comment);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
State<StatefulWidget> createState() => _ComicCommentItem();
|
State<StatefulWidget> createState() => _ComicCommentItemState();
|
||||||
}
|
}
|
||||||
|
|
||||||
class _ComicCommentItem extends State<ComicCommentItem> {
|
class _ComicCommentItemState extends State<ComicCommentItem> {
|
||||||
var likeLoading = false;
|
var likeLoading = false;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
|
@ -820,7 +820,10 @@ class _SettingPanelState extends State<_SettingPanel> {
|
||||||
_bottomIcon(
|
_bottomIcon(
|
||||||
icon: Icons.refresh,
|
icon: Icons.refresh,
|
||||||
title: "重载页面",
|
title: "重载页面",
|
||||||
onPressed: widget.onReloadEp,
|
onPressed: () {
|
||||||
|
Navigator.of(context).pop();
|
||||||
|
widget.onReloadEp();
|
||||||
|
},
|
||||||
),
|
),
|
||||||
_bottomIcon(
|
_bottomIcon(
|
||||||
icon: Icons.file_download,
|
icon: Icons.file_download,
|
||||||
|
|
Loading…
Reference in New Issue