Unsubscribe
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user