diff --git a/changelog/v1.7.0+544.md b/changelog/v1.7.0+544.md new file mode 100644 index 000000000..d5d42ac16 --- /dev/null +++ b/changelog/v1.7.0+544.md @@ -0,0 +1,17 @@ +## ✨ 功能 + +- 更新支持新的详情页缩略图解析 (感谢 @Indekkusu545) + +## 🐞 Bug 修复 + +- 修复 MySetting Web设置页导航栏按钮无效 + +--- + +## ✨ Features + +- Update to support new thumbnail parsing on the detail page. (Thanks to @Indekkusu545) + +## 🐞 Bug Fixes + +- Fix the invalid navigation button on the MySetting Web setting page diff --git a/lib/pages/setting/webview/eh_tagset_edit_dialog.dart b/lib/pages/setting/webview/eh_tagset_edit_dialog.dart index 5de22547a..fcf27dbd8 100644 --- a/lib/pages/setting/webview/eh_tagset_edit_dialog.dart +++ b/lib/pages/setting/webview/eh_tagset_edit_dialog.dart @@ -3,8 +3,7 @@ import 'package:flutter/cupertino.dart'; import 'package:get/get.dart'; class EhTagSetEditDialog extends StatelessWidget { - const EhTagSetEditDialog({Key? key, required this.text, required this.title}) - : super(key: key); + const EhTagSetEditDialog({super.key, required this.text, required this.title}); final String title; final String text; diff --git a/lib/pages/setting/webview/mytags_in.dart b/lib/pages/setting/webview/mytags_in.dart index bfa25479b..e60c13606 100644 --- a/lib/pages/setting/webview/mytags_in.dart +++ b/lib/pages/setting/webview/mytags_in.dart @@ -14,7 +14,7 @@ class InWebMyTags extends StatelessWidget { @override Widget build(BuildContext context) { - InAppWebViewController? _controller; + InAppWebViewController? inAppWebViewController; final CupertinoPageScaffold cpf = CupertinoPageScaffold( navigationBar: CupertinoNavigationBar( @@ -30,7 +30,7 @@ class InWebMyTags extends StatelessWidget { size: 22, ), onPressed: () async { - _controller?.reload(); + inAppWebViewController?.reload(); }, ), ], @@ -41,7 +41,7 @@ class InWebMyTags extends StatelessWidget { initialUrlRequest: URLRequest(url: WebUri('${Api.getBaseUrl()}/mytags')), onWebViewCreated: (InAppWebViewController controller) { - _controller = controller; + inAppWebViewController = controller; }, initialSettings: inAppWebViewSettings, shouldOverrideUrlLoading: (controller, navigationAction) async { diff --git a/pubspec.yaml b/pubspec.yaml index f9c02aa01..fea3bf923 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: eros_fe description: An unofficial e-hentai app publish_to: 'none' -version: 1.6.3+543 +version: 1.7.0+544 environment: sdk: '>=3.0.0 <4.0.0'