Browse Source

loginSucc

nieyuge 2 năm trước cách đây
mục cha
commit
bb46dea778
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      src/logic/content/twitter.js

+ 8 - 0
src/logic/content/twitter.js

@@ -757,6 +757,14 @@ export function initExecuteScript(changes) {
             init()
         }
     }
+    if (changes.userInfo) {
+        let item = JSON.parse(changes.userInfo.newValue)
+        if (item) {
+            checkUserJoinGroup(() => {
+                showNFTGroupIcon()
+            })
+        }
+    }
 }
 
 const createNFTIframe = ({ url, id }, callback) => {