diff --git a/src/app/pages/inactivity/inactivity.page.ts b/src/app/pages/inactivity/inactivity.page.ts index 0132a6033..74437d4ea 100644 --- a/src/app/pages/inactivity/inactivity.page.ts +++ b/src/app/pages/inactivity/inactivity.page.ts @@ -131,9 +131,14 @@ export class InactivityPage implements OnInit { const code = this.code.join('') if( SessionStore.validatePin(code)) { - + + SessionStore.setInativity(true) this.goback() - this.clearCode() + + setTimeout(()=>{ + this.clearCode() + }, 1000) + } else { this.toastService.badRequest('Pin incorreto') this.code = [] diff --git a/src/app/services/socket/synchro.service.ts b/src/app/services/socket/synchro.service.ts index 84407e941..8881a2829 100644 --- a/src/app/services/socket/synchro.service.ts +++ b/src/app/services/socket/synchro.service.ts @@ -135,7 +135,8 @@ class SynchroService { if(window['platform'].is('desktop') || this.platform.is('mobileweb')) {} else return false - if(environment.production) return false + + // if(environment.production) return false this.callBacks.forEach((e)=> {