mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-19 23:52:06 +00:00
fix: capacitor al login loop
This commit is contained in:
parent
535e83cdca
commit
a41d076929
1 changed files with 6 additions and 1 deletions
|
|
@ -34,7 +34,12 @@ function sendToken (line) {
|
|||
}
|
||||
|
||||
App.getLaunchUrl().then(res => {
|
||||
if (res) handleProtocol(res.url)
|
||||
if (location.hash !== '#skipAlLogin') {
|
||||
location.hash = '#skipAlLogin'
|
||||
if (res) handleProtocol(res.url)
|
||||
} else {
|
||||
location.hash = ''
|
||||
}
|
||||
})
|
||||
|
||||
SafeArea.addListener('safeAreaChanged', updateInsets)
|
||||
|
|
|
|||
Loading…
Reference in a new issue