2
0
Fork 0

MOBILE-3401 login: Do not unload site if view not destroyed

main
Pau Ferrer Ocaña 2020-06-19 12:31:40 +02:00
parent 247e31add4
commit f6a63d53e5
1 changed files with 2 additions and 9 deletions

View File

@ -93,16 +93,9 @@ export class CoreLoginCredentialsPage {
}
/**
* View enter.
* View destroyed.
*/
ionViewDidEnter(): void {
this.viewLeft = false;
}
/**
* View left.
*/
ionViewDidLeave(): void {
ionViewWillUnload(): void {
this.viewLeft = true;
this.eventsProvider.trigger(CoreEventsProvider.LOGIN_SITE_UNCHECKED, { config: this.siteConfig }, this.siteId);
}