Commit 3c0520e9 authored by 艾娇平's avatar 艾娇平

Merge branch 'lwq' into 'master'

修改判断条件

See merge request !5
parents 7b63b5cd 1d04a85f
......@@ -43,12 +43,11 @@
return instance;
}
+ (BOOL)isClientInstalled:(GMSharePlatform)platformType{
if (platformType == GMSharePlatformQQ) {
return [QQApiInterface isQQInstalled] ? YES : NO;
} else if (platformType == GMSharePlatformWechatTimeline | platformType == GMSharePlatformWechatSession | GMSharePlatformWechat) {
} else if ((platformType == GMSharePlatformWechatTimeline) | (platformType == GMSharePlatformWechatSession) | (platformType == GMSharePlatformWechat)) {
return [WXApi isWXAppInstalled] ? YES : NO;
} else if (platformType == GMSharePlatformSinaWeibo){
return [WeiboSDK isWeiboAppInstalled] ? YES : NO;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment