feat: slide to dismiss subreply page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-27 18:05:25 +08:00
parent 587870ad71
commit 69667c135d
3 changed files with 200 additions and 114 deletions

View File

@@ -2111,6 +2111,19 @@ List<SettingsModel> get extraSettings => [
GStorage.collapsibleVideoPage = value;
},
),
SettingsModel(
settingsType: SettingsType.sw1tch,
title: '侧滑关闭二级评论页面',
leading: Transform.rotate(
angle: pi * 1.5,
child: Icon(Icons.touch_app),
),
setKey: SettingBoxKey.slideDismissReplyPage,
defaultVal: Platform.isIOS,
onChanged: (value) {
GStorage.slideDismissReplyPage = value;
},
),
SettingsModel(
settingsType: SettingsType.sw1tch,
enableFeedback: true,