Skip to content

Commit

Permalink
update 兼容未认证企业
Browse files Browse the repository at this point in the history
  • Loading branch information
gallonyin committed Mar 21, 2023
1 parent 5ef8bbd commit 86a5737
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,12 @@ object WeworkGetImpl {
}
if (tvList.size > 1) {
if (!SPUtils.getInstance("myInfo").getBoolean("realName", false)) {
AccessibilityUtil.performClick(tvList[1])
if (tvList[1].text?.toString() == "未认证" && tvList.size > 2) {
log("企业未认证: $info")
AccessibilityUtil.performClick(tvList[2])
} else {
AccessibilityUtil.performClick(tvList[1])
}
getRealName(nickname)
} else {
LogUtils.d("已实名认证")
Expand Down

0 comments on commit 86a5737

Please sign in to comment.