Skip to content

Commit

Permalink
🐛 page index of downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Jan 8, 2024
1 parent b899f14 commit 3c721fc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion ci/version.code.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.0.8
v0.0.9
14 changes: 4 additions & 10 deletions ci/version.info.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 如果图片显示不出来需要删除原来的APP重新安装
## PC端需要手动找到文件夹删除

v0.0.9

- [x] 修复下载之后顺序错乱(需要重新下载)

v0.0.8

- [x] 更换线路
Expand All @@ -9,13 +13,3 @@ v0.0.7

- [x] 修复收藏夹

v0.0.6

- [x] 修复下一章按钮错误
- [x] 修复标题和按钮重叠


v0.0.5

- [x] 登录以后可以收藏漫画
- [x] 收藏漫画的列表
2 changes: 1 addition & 1 deletion lib/screens/comic_info_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ class _ComicInfoScreenState extends State<ComicInfoScreen> with RouteAware {
elevation: 0,
color: Colors.grey.shade500.withOpacity(.3),
textColor: Theme.of(context).textTheme.bodyMedium?.color,
child: const Text("从头开始"),
child: const Text("从orde头开始"),
onPressed: _startRead,
),
),
Expand Down
8 changes: 4 additions & 4 deletions native/src/downloading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ async fn fetch_chapter(chapter: &download_comic_chapter::Model) -> anyhow::Resul
{
Ok(data) => {
let mut urls = Vec::with_capacity(data.chapter.contents.len());
for _ in 0..data.chapter.contents.len() {
for _ in 0..data.chapter.words.len() {
urls.push("".to_owned());
}
for i in 0..data.chapter.contents.len() {
for i in 0..data.chapter.words.len() {
let idx = *data.chapter.words.get(i).with_context(|| "words")? as usize;
let url = data.chapter.contents.get(idx).with_context(|| "contents")?;
urls[i] = url.url.clone();
let url = data.chapter.contents.get(i).with_context(|| "contents")?;
urls[idx] = url.url.clone();
}
let mut idx = 0;
let mut images = vec![];
Expand Down

0 comments on commit 3c721fc

Please sign in to comment.