Skip to content

Commit

Permalink
update search;
Browse files Browse the repository at this point in the history
update flutter to 3.16.0;
improve ui;
update ISSUE_TEMPLATE;
update version code;
bug fixes;
  • Loading branch information
wgh136 committed Nov 19, 2023
1 parent fb8302c commit 002b9a9
Show file tree
Hide file tree
Showing 29 changed files with 1,119 additions and 902 deletions.
22 changes: 12 additions & 10 deletions .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
name: 报告Bug
description: 报告APP运行时出现的问题
name: 报告Bug/Report a bug
description: 报告APP出现的问题/Reporting problems with the APP
title: "[Bug]: "
labels: ["bug🐞"]
body:
- type: markdown
attributes:
value: |
感谢报告问题, 请先补全标题后填写以下信息
感谢报告问题, 请先补全标题后填写以下信息.
Thank you for reporting a problem, please complete the title and fill in the following information.
- type: textarea
id: what-happened
attributes:
label: 描述
description: 描述问题
label: 描述/Description
description: 描述问题/Describe the problem
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: 使用的APP版本
description: 使用的APP版本/App version
value: "latest"
validations:
required: true
- type: dropdown
id: platform
attributes:
label: 使用的操作系统
label: 使用的操作系统/Operating system
multiple: true
options:
- Android
Expand All @@ -37,10 +39,10 @@ body:
- type: textarea
id: logs
attributes:
label: 日志
label: 日志/logs
description: 上传日志, 在设置-logs中, 点击右上角的菜单后, 点击导出日志; 或者将错误相关日志粘贴到这里
- type: textarea
id: screenshotOrVideo
attributes:
label: 截图或视频
description: 在这里上传相关的屏幕截图或者视频
label: 截图或视频/Screenshot or video
description: 在这里上传相关的屏幕截图或者视频/Upload relevant screenshots or videos here
20 changes: 11 additions & 9 deletions .github/ISSUE_TEMPLATE/enhancement.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
name: 功能建议
description: 提出改进APP的建议
name: 功能建议/Feature Request
description: 提出改进APP的建议/Suggest improvements to the APP
title: "[Enhancement]: "
labels: ["enhancement🚀"]
body:
- type: markdown
attributes:
value: |
欢迎提出功能建议, 请先补全标题后填写以下信息
欢迎提出功能建议, 请先补全标题后填写以下信息.
Welcome to make a feature request, please fill in the following information after completing the title.
- type: textarea
id: what-happened
attributes:
label: 描述
description: 描述具体的建议
label: 描述/Description
description: 描述具体的建议/Describe your suggestion.
validations:
required: true
- type: dropdown
id: platform
attributes:
label: 操作系统
description: 如果建议针对某个平台, 请在此选择
label: 操作系统/Operating System
description: 如果建议针对某个平台, 请在此选择/If the feature is for a particular platform, please select here
multiple: true
options:
- Android
Expand All @@ -30,5 +32,5 @@ body:
- type: textarea
id: screenshotOrVideo
attributes:
label: 图片
description: 如果需要图片描述, 请在这里上传
label: 图片/picture
description: 如果需要图片描述, 请在这里上传/If you need a picture description, please upload it here.
10 changes: 8 additions & 2 deletions .github/ISSUE_TEMPLATE/other.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 其它/other
description: 其它内容
description: 其它内容/Other contents
body:
- type: markdown
attributes:
Expand All @@ -8,7 +8,13 @@ body:
如果你想提出功能建议或者优化建议, 请切换到功能建议模板;
对于其它情况, 填写并提交此处的内容
对于其它情况, 填写并提交此处的内容.
If you wish to report issues occurring during the app's runtime (such as the inability to view a particular comic source, login issues, non-functional features, etc.), please switch to the Bug Report template.
If you would like to make feature requests or optimization suggestions, please switch to the Feature Request template.
For any other situations, please fill out and submit the content here.
- type: textarea
id: what-happened
attributes:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pica Comic

[![flutter](https://img.shields.io/badge/flutter-3.13.9-blue)](https://flutter.dev/)
[![flutter](https://img.shields.io/badge/flutter-3.16.0-blue)](https://flutter.dev/)
[![License](https://img.shields.io/github/license/wgh136/PicaComic)](https://github.com/wgh136/PicaComic/blob/master/LICENSE)
[![Download](https://img.shields.io/github/v/release/wgh136/PicaComic)](https://github.com/wgh136/PicaComic/releases)
[![stars](https://img.shields.io/github/stars/wgh136/PicaComic)](https://github.com/wgh136/PicaComic/stargazers)
Expand Down
6 changes: 4 additions & 2 deletions lib/base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:pica_comic/network/htmanga_network/htmanga_main_network.dart';
import 'package:pica_comic/network/jm_network/jm_main_network.dart';
import 'package:pica_comic/network/picacg_network/methods.dart';
import 'package:pica_comic/network/download.dart';
import 'package:pica_comic/network/webdav.dart';
import 'package:pica_comic/tools/io_tools.dart';
import 'package:pica_comic/tools/notification.dart';
import 'package:pica_comic/foundation/history.dart';
Expand Down Expand Up @@ -86,13 +87,13 @@ class Appdata {
"0", //46 webdav version
"0", //47 eh warning
"https://nhentai.net", //48 nhentai domain
"0", //49 阅读器中双击放缩
"1", //49 阅读器中双击放缩
"", //50 language, empty=system
"", //51 默认收藏夹
"0", //52 me page
"0", //53 本地收藏添加位置(尾/首)
"0", //54 阅读后移动本地收藏(否/尾/首)
"0", //55 长按缩放
"1", //55 长按缩放
];

///屏蔽的关键词
Expand Down Expand Up @@ -207,6 +208,7 @@ class Appdata {
}

Future<void> writeData() async {
Webdav.uploadData();
var s = await SharedPreferences.getInstance();
await s.setString("token", token);
await s.setString("userName", user.name);
Expand Down
2 changes: 1 addition & 1 deletion lib/foundation/def.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const String webUA =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36";

//App版本
const appVersion = "2.2.7-beta";
const appVersion = "2.2.7";

//定义宽屏设备的临界值
const changePoint = 600;
Expand Down
Loading

0 comments on commit 002b9a9

Please sign in to comment.