diff --git a/changelog/v7.1.3+128.md b/changelog/v7.1.3+128.md index fbc7e229..cdecf0fe 100644 --- a/changelog/v7.1.3+128.md +++ b/changelog/v7.1.3+128.md @@ -1,13 +1,17 @@ -1. 新增瀑布流(中)布局 -2. 修复设置页尾部文字颜色的bug -3. 修复浏览过的表站画廊被移入里站后显示被删除的bug -4. 优化iOS和macOS上本地画廊的帮助信息 -5. 修复在访问被版权保护的画廊时,版权作者显示错误的bug +1. 大幅优化页面渲染性能,缓解UI卡顿 +2. 新增瀑布流(中)布局 +3. 阅读设置页现在不会应用沉浸模式 +4. 修复设置页尾部文字颜色的bug +5. 修复浏览过的表站画廊被移入里站后显示被删除的bug +6. 优化iOS和macOS上本地画廊的帮助信息 +7. 修复在访问被版权保护的画廊时,版权作者显示错误的bug ------------------------------------------------------------------------------------------ -1. Add a new layout: WaterFallFlow (medium) -2. Fix the bug with font color in setting page -3. Fix the bug where previously viewed gallery is shown as deleted after being moved into the EX site -4. Optimize help information for local gallery on iOS and macOS -5. Fix the bug with information displayed when accessing a gallery that is protected by copyright \ No newline at end of file +1. Optimize the performance of page rendering greatly +2. Add a new layout: WaterFallFlow (medium) +3. The immersive mode is no longer applied in read setting page +4. Fix the bug with font color in setting page +5. Fix the bug where previously viewed gallery is shown as deleted after being moved into the EX site +6. Optimize help information for local gallery on iOS and macOS +7. Fix the bug with information displayed when accessing a gallery that is protected by copyright \ No newline at end of file diff --git a/lib/src/pages/read/read_page.dart b/lib/src/pages/read/read_page.dart index 933d2df5..5bebe48a 100644 --- a/lib/src/pages/read/read_page.dart +++ b/lib/src/pages/read/read_page.dart @@ -261,7 +261,13 @@ class ReadPage extends StatelessWidget { ), ElevatedButton( child: const Icon(Icons.settings, color: UIConfig.readPageButtonColor), - onPressed: () => toRoute(Routes.settingRead, id: fullScreen)?.then((_) => state.focusNode.requestFocus()), + onPressed: () { + logic.restoreImmersiveMode(); + toRoute(Routes.settingRead, id: fullScreen)?.then((_) { + logic.toggleCurrentImmersiveMode(); + state.focusNode.requestFocus(); + }); + }, style: ElevatedButton.styleFrom( elevation: 0, padding: const EdgeInsets.all(0), diff --git a/lib/src/pages/read/read_page_logic.dart b/lib/src/pages/read/read_page_logic.dart index 2968cbd3..34e029e6 100644 --- a/lib/src/pages/read/read_page_logic.dart +++ b/lib/src/pages/read/read_page_logic.dart @@ -133,7 +133,7 @@ class ReadPageLogic extends GetxController { volumeService.cancelListen(); volumeService.setInterceptVolumeEvent(false); - restoreSystemBar(); + restoreImmersiveMode(); storageService.write(state.readPageInfo.readProgressRecordStorageKey, state.readPageInfo.currentIndex); @@ -261,7 +261,7 @@ class ReadPageLogic extends GetxController { } } - void restoreSystemBar() { + void restoreImmersiveMode() { SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge); }