Unsubscribe

This commit is contained in:
Surya Paolo
2023-02-15 21:40:10 +01:00
parent d59eb86d0c
commit 239cfbe835
17 changed files with 992 additions and 609 deletions

View File

@@ -5592,7 +5592,7 @@ export const tools = {
// console.log('OUT', res)
if (res && res.userprofile) {
console.log('updateMyData', res.userprofile)
// console.log('updateMyData', res.userprofile)
userStore.my.profile = res.userprofile
if (res.listcircuits) {
@@ -7599,7 +7599,7 @@ export const tools = {
checkApp() {
const globalStore = useGlobalStore()
console.log('checkApp (homescreen=', globalStore.homescreen)
// console.log('checkApp (homescreen=', globalStore.homescreen)
try {
let displayMode = 'browser'
@@ -7607,11 +7607,11 @@ export const tools = {
// @ts-ignore
if (((navigator && (navigator.standalone))) ||
(window.matchMedia(mqStandAlone).matches)) {
console.log('navigator.standalone')
// console.log('navigator.standalone')
displayMode = 'standalone'
}
// prova altro 2
console.log('displayMode = ', displayMode)
// console.log('displayMode = ', displayMode)
globalStore.isAppRunning = displayMode === 'standalone' || globalStore.homescreen
} catch (e) {
@@ -7620,7 +7620,7 @@ export const tools = {
},
initprompt() {
console.log('initprompt')
// console.log('initprompt')
const globalStore = useGlobalStore()
window.addEventListener('beforeinstallprompt', (event) => {