This commit is contained in:
tiago.kayaya
2021-06-09 10:01:45 +01:00
parent 419330e572
commit cb658bfa1f
8 changed files with 112 additions and 18 deletions
+5 -2
View File
@@ -1,12 +1,15 @@
import { Injectable } from '@angular/core';
import { AlertController } from '@ionic/angular';
import { AlertController, AnimationController } from '@ionic/angular';
@Injectable({
providedIn: 'root'
})
export class AlertService {
constructor(public alertController: AlertController) { }
constructor(
public alertController: AlertController,
private animationController: AnimationController,
) { }
async presentAlert(message:string) {
const alert = await this.alertController.create({