Skip to content

Commit

Permalink
🐛 Fix noval subscribed list
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Mar 7, 2023
1 parent 8504249 commit fd2ffaf
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/version.code.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.16
v0.1.17
4 changes: 4 additions & 0 deletions ci/version.info.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
计划
- [x] 下载? / / 高清画质? / / 通过点击进行上一页下一页?

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

v0.1.16
- [x] 🐛 修复缓存不清除, 内存使用很大的问题
- [x] 🚀 升级Flutter引擎到3.7.3
Expand Down
4 changes: 2 additions & 2 deletions lib/configs/novel_background_color.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import 'package:flutter/material.dart';
const _propertyKeyLight = "novel_background_color_light";
const _propertyKeyDark = "novel_background_color_dark";

const _defaultValueLight = 0x0;
const _defaultValueDark = 0x0;
const _defaultValueLight = 0xFFFFFFFF;
const _defaultValueDark = 0xFF000000;

late int _novelBackgroundColorLight;
late int _novelBackgroundColorDark;
Expand Down
1 change: 0 additions & 1 deletion lib/configs/novel_font_color.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:daisy/commons.dart';
import 'package:daisy/ffi.dart';
import 'package:flutter/material.dart';
import 'package:flutter_colorpicker/flutter_colorpicker.dart';

const _propertyKeyLight = "novel_font_color_light";
const _propertyKeyDark = "novel_font_color_dark";
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/novel_subscribed_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class _NovelSubscribedScreenState extends State<NovelSubscribedScreen>
bool get wantKeepAlive => false;

Future<List<NovelInPager>> _loadNovel(int page) async {
return (await native.subscribedList(subType: 0, page: page))
return (await native.subscribedList(subType: 1, page: page))
.map((e) => NovelInPager(
id: e.id,
name: e.name,
Expand Down

0 comments on commit fd2ffaf

Please sign in to comment.