mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: slide to dismiss subreply page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user