Skip to content

Commit

Permalink
🚀 v0.1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Mar 25, 2023
1 parent 258a7c9 commit a5b9fa0
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 12 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ env:
flutter_channel: 'stable'
LLVM_VERSION: '10.0'
GH_TOKEN: ${{ secrets.GH_TOKEN }}
RUST_TOOLCHAIN: nightly-2023-03-13
NDK_VERSION: 25.2.9519653

jobs:

Expand Down Expand Up @@ -36,7 +38,8 @@ jobs:
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ env.RUST_TOOLCHAIN }}
override: true

- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -121,7 +124,8 @@ jobs:
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ env.RUST_TOOLCHAIN }}
override: true

- name: Cargo ci build cache
uses: actions/cache@v3
Expand Down Expand Up @@ -229,6 +233,8 @@ jobs:
packages: |
platform-tools
platforms;android-33
build-tools;33.0.0
ndk;${{ env.NDK_VERSION }}
- name: Set-Version (All)
if: steps.check_asset.outputs.skip_build != 'true'
Expand Down Expand Up @@ -314,6 +320,7 @@ jobs:
- name: Install rust target and build (Android-arm64)
if: steps.check_asset.outputs.skip_build != 'true' && ( matrix.config.target == 'android-arm64')
run: |
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/${{ env.NDK_VERSION }}
rustup target install aarch64-linux-android
cd daisy
cd native
Expand All @@ -324,6 +331,7 @@ jobs:
- name: Install rust target and build (Android-arm32)
if: steps.check_asset.outputs.skip_build != 'true' && ( matrix.config.target == 'android-arm32')
run: |
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/${{ env.NDK_VERSION }}
rustup target install armv7-linux-androideabi
cd daisy
cd native
Expand All @@ -334,6 +342,7 @@ jobs:
- name: Install rust target and build (Android-x86_64)
if: steps.check_asset.outputs.skip_build != 'true' && ( matrix.config.target == 'android-x86_64')
run: |
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/${{ env.NDK_VERSION }}
rustup target install x86_64-linux-android
cd daisy
cd native
Expand Down
2 changes: 1 addition & 1 deletion ci/version.code.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.17
v0.1.18
12 changes: 4 additions & 8 deletions ci/version.info.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
计划
- [x] 下载? / / 高清画质? / / 通过点击进行上一页下一页?

v0.1.18
- [x] ♻️ 修复漫画看不了
- [x] ♻️ 去除切换全屏抖动

v0.1.17
- [x] ♻️ 优化体验: 小说默认非透明背景色
- [x] 🐛 修复BUG: 小说订阅能用

v0.1.16
- [x] 🐛 修复缓存不清除, 内存使用很大的问题
- [x] 🚀 升级Flutter引擎到3.7.3
- [x] 🚀 修改包名和签名防止报毒和黑名单

v0.1.15
- [x] 下载(缓存)漫画
8 changes: 7 additions & 1 deletion lib/screens/components/comic_pager.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'package:daisy/commons.dart';
import 'package:daisy/ffi.dart';
import 'package:daisy/screens/comic_detail_screen.dart';
import 'package:daisy/screens/components/images.dart';
import 'package:flutter/material.dart';
Expand Down Expand Up @@ -126,7 +128,11 @@ class _ComicPagerState extends State<ComicPager> {
List<Widget> _buildList() {
return _list.map((e) {
return GestureDetector(
onTap: () {
onTap: () async {
if ((await native.getUid()).isEmpty) {
defaultToast(context, "请先登录");
return;
}
Navigator.of(context).push(
MaterialPageRoute(builder: (BuildContext context) {
return ComicDetailScreen(comicId: e.id);
Expand Down

0 comments on commit a5b9fa0

Please sign in to comment.