File tree Expand file tree Collapse file tree
packages/extension/src/ui/action Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 />
1616 </div >
1717 <div >
18- <a ref =" toggle" class =" app__menu-link" @click =" toggleMoreMenu" >
18+ <a
19+ ref =" toggle"
20+ class =" app__menu-link"
21+ @click =" toggleMoreMenu"
22+ v-show =" hideSomething"
23+ >
1924 <more-icon />
2025 </a >
2126 <div v-show =" isOpenMore" ref =" dropdown" class =" app__menu-dropdown" >
@@ -232,6 +237,7 @@ const isLoading = ref(true);
232237const currentVersion = __PACKAGE_VERSION__ ;
233238const latestVersion = ref (' ' );
234239const enabledTestnetworks = ref <string []>([]);
240+ const hideSomething = ref (true );
235241/** -------------------
236242 * Updates
237243 -------------------*/
@@ -416,6 +422,11 @@ onMounted(async () => {
416422 const isInitialized = await kr .isInitialized ();
417423 if (isInitialized ) {
418424 const _isLocked = await isKeyRingLocked ();
425+ if (__IS_SAFARI__ ) {
426+ setInterval (() => {
427+ isKeyRingLocked (); // keepalive safari action window
428+ }, 1000 * 5 );
429+ }
419430 if (_isLocked ) {
420431 router
421432 .push ({ name: ' lock-screen' })
@@ -440,11 +451,6 @@ onMounted(async () => {
440451 }
441452 });
442453 }, 2000 );
443- setInterval (() => {
444- isKeyRingLocked ().then (res => {
445- console .log (' am I locked?' , res );
446- });
447- }, 1000 * 5 );
448454 }
449455 initUpdateState ();
450456 } else {
You can’t perform that action at this time.
0 commit comments