Skip to content

Commit cdb4763

Browse files
committed
Merge branch 'main' of https://github.com/Wtrwx/DYYY
2 parents 4d91270 + f762504 commit cdb4763

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

DYYY.xm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7417,7 +7417,9 @@ static void findTargetViewInView(UIView *view) {
74177417
}
74187418

74197419
%ctor {
7420-
%init(DYYYSettingsGesture);
7420+
if (!DYYYGetBool(@"DYYYDisableSettingsGesture")) {
7421+
%init(DYYYSettingsGesture);
7422+
}
74217423
if (DYYYGetBool(@"DYYYUserAgreementAccepted")) {
74227424
static dispatch_once_t onceToken;
74237425
dispatch_once(&onceToken, ^{

DYYYSettings.xm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2542,6 +2542,14 @@ void showDYYYSettingsVC(UIViewController *rootVC, BOOL hasAgreed) {
25422542
// 【交互增强】分类
25432543
NSMutableArray<AWESettingItemModel *> *interactionItems = [NSMutableArray array];
25442544
NSArray *interactionSettings = @[
2545+
@{
2546+
@"identifier" : @"DYYYDisableSettingsGesture",
2547+
@"title" : @"禁用双指长按入口",
2548+
@"subTitle" : @"开启后将禁用双指长按弹出的设置入口,开启或者关闭此选项都需要重启抖音以生效",
2549+
@"detail" : @"",
2550+
@"cellType" : @37,
2551+
@"imageName" : @"ic_gearsimplify_outlined_20"
2552+
},
25452553
@{
25462554
@"identifier" : @"DYYYEntrance",
25472555
@"title" : @"左侧边栏快捷入口",

0 commit comments

Comments
 (0)