Skip to content

Commit

Permalink
v1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed May 3, 2022
1 parent 986d2e3 commit 7dacd96
Show file tree
Hide file tree
Showing 3 changed files with 12 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 @@
v1.2.3
v1.2.4
3 changes: 2 additions & 1 deletion ci/version.info.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- [x] 重新添加:下一章按钮, 下一章时自动全屏
- [x] 新增:安卓120Hz或更高刷新率屏幕的支持
- [x] 修复:某些模式下收藏夹无法翻到第二页的BUG
- [x] 修复:某些模式下收藏夹无法翻到第二页的BUG
12 changes: 9 additions & 3 deletions lib/screens/comic_reader_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ abstract class _ComicReaderState extends State<_ComicReader> {
void initState() {
_fullScreen = widget.fullScreenOnInit;
if (_fullScreen) {
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []);
if (Platform.isAndroid || Platform.isIOS) {
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []);
}
}
_current = widget.startIndex;
_slider = widget.startIndex;
Expand All @@ -286,7 +288,10 @@ abstract class _ComicReaderState extends State<_ComicReader> {
delVolumeListen();
}
if (Platform.isAndroid || Platform.isIOS) {
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
SystemChrome.setEnabledSystemUIMode(
SystemUiMode.manual,
overlays: SystemUiOverlay.values,
);
}
super.dispose();
}
Expand Down Expand Up @@ -1180,7 +1185,8 @@ class _ComicReaderGalleryState extends _ComicReaderState {
color: Colors.transparent,
child: Container(
margin: const EdgeInsets.only(bottom: 10),
padding: const EdgeInsets.only(left: 10, right: 10, top: 4, bottom: 4),
padding:
const EdgeInsets.only(left: 10, right: 10, top: 4, bottom: 4),
decoration: const BoxDecoration(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(10),
Expand Down

0 comments on commit 7dacd96

Please sign in to comment.