Skip to content

Commit

Permalink
Fix a case where loader is never dismissed
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelLH committed May 11, 2023
1 parent 545e920 commit 841749b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/home/home.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ export class HomePageComponent implements OnInit {
if (this.input.master_password.length === 0 || this.input.host.length === 0) {
this.output_password = null;
this.non_domain_warning = false;
if (this.loading) {
this.loading.dismiss();
}

return;
}

Expand Down

0 comments on commit 841749b

Please sign in to comment.