-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
111 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## 修正 | ||
|
||
- 同步网站关于原图链接的更新,目前旧版本应该无法下载原图 | ||
- 导入设置数据时,保持现有设置的下载路径设置,避免跨系统导入数据导致下载路径问题 | ||
|
||
|
||
## 新增 | ||
|
||
- 样式设置中,添加画廊评论显示开关,缩略图显示开关 | ||
- 添加水平缩略图布局,可在样式设置中启用 | ||
- 将部分数据库操作放到在单独的isolate线程中进行,避免在主线程中进行数据库操作导致的卡顿 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import 'package:fehviewer/common/controller/block_controller.dart'; | ||
import 'package:fehviewer/common/service/theme_service.dart'; | ||
import 'package:fehviewer/fehviewer.dart'; | ||
import 'package:flutter/cupertino.dart'; | ||
import 'package:get/get.dart'; | ||
|
||
class BlockRuleEditPage extends GetView<BlockController> { | ||
const BlockRuleEditPage({super.key}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
final String _title = L10n.of(context).blockers; | ||
|
||
return Obx(() { | ||
return CupertinoPageScaffold( | ||
backgroundColor: !ehTheme.isDarkMode | ||
? CupertinoColors.secondarySystemBackground | ||
: null, | ||
navigationBar: CupertinoNavigationBar( | ||
padding: const EdgeInsetsDirectional.only(start: 0), | ||
middle: Text(_title), | ||
), | ||
child: SafeArea( | ||
bottom: false, | ||
top: false, | ||
child: ListView(), | ||
), | ||
); | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import 'package:fehviewer/common/controller/block_controller.dart'; | ||
import 'package:fehviewer/common/service/theme_service.dart'; | ||
import 'package:flutter/cupertino.dart'; | ||
import 'package:get/get.dart'; | ||
|
||
class BlockRulesPage extends GetView<BlockController> { | ||
const BlockRulesPage({super.key}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
final String _title = 'Block Rules'; | ||
|
||
return Obx(() { | ||
return CupertinoPageScaffold( | ||
backgroundColor: !ehTheme.isDarkMode | ||
? CupertinoColors.secondarySystemBackground | ||
: null, | ||
navigationBar: CupertinoNavigationBar( | ||
padding: const EdgeInsetsDirectional.only(start: 0), | ||
middle: Text(_title), | ||
), | ||
child: SafeArea( | ||
bottom: false, | ||
top: false, | ||
child: ListView(), | ||
), | ||
); | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters