Dismiss LoadingController doesn't work


I have an AlertController which ask the user whether he wants to make an update. When the user click YES it should shows the loading circle and when the update progress is done, it should dismiss the loading circle.

My code works until the dismiss.I also see the console entry after the dismiss, but the loading circle doesn’t close. The code:

    let loading = this.loadingCtrl.create({
      content: 'Loading Update...'
    this.updater.updateDb().then(() => {
      console.info("resperLOG: Update Done");

dismiss is a function. loading.dismiss()

1 Like