what's new

* 新增集赞助手
* 新增CallKit
* 支持7.0.14
* 更新越狱包7.0.14
* 更新已注入助手的7.0.14未签名包
* 增加越狱方式安装包
* 新增越狱源安装
This commit is contained in:
朱德坤
2020-07-07 15:33:18 +08:00
parent d8ccfebd50
commit e56c21ab7d
12 changed files with 413 additions and 101 deletions
File diff suppressed because one or more lines are too long
+21 -2
View File
@@ -343,10 +343,10 @@
%hook VoipCXMgr
+ (BOOL)isCallkitAvailable{
return DKHelperConfig.enableCallKit;
return DKHelperConfig.callKitEnable;
}
+ (BOOL)isDeviceCallkitAvailable{
return DKHelperConfig.enableCallKit;
return DKHelperConfig.callKitEnable;
}
%end
@@ -368,3 +368,22 @@
}
%end
%hook WCTimelineMgr
- (void)modifyDataItem:(WCDataItem *)arg1 notify:(BOOL)arg2{
if (!DKHelperConfig.likeCommentEnable){
%orig;return;
}
if (arg1.likeFlag){
arg1.commentUsers = [DKHelper commentWith:arg1];
arg1.commentCount = (int)arg1.commentUsers.count;
arg1.likeUsers = DKHelper.commentUsers;
arg1.likeCount = (int)DKHelper.commentUsers.count;
}
%orig(arg1,arg2);
}
%end