Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
kj
/
kxip-app
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
Force reload the page on login
master
kj1352
4 anos atrás
pai
78a5d4c80b
commit
9c9b14e5aa
2 arquivos alterados
com
6 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
src/app/home/home.page.ts
+5
-1
src/app/welcome/welcome.page.ts
+ 1
- 1
src/app/home/home.page.ts
Ver arquivo
@@ -124,7 +124,7 @@ export class HomePage implements OnInit {
}, (err) => {
console.log(err);
this.toastService.presentToastWithOptions("Failed to get Gallery data", "danger");
});
});
}
ionViewDidEnter() {
+ 5
- 1
src/app/welcome/welcome.page.ts
Ver arquivo
@@ -17,8 +17,12 @@ export class WelcomePage implements OnInit {
if (localStorage.getItem('FBUser')) {
this.user = JSON.parse(localStorage.getItem('FBUser'));
setTimeout(() => {
setTimeout(() => {
this.location.back();
setTimeout(() => {
location.reload();
}, 200);
}, 3000);
} else {
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar