|
@@ -1,5 +1,5 @@
|
1
|
1
|
import { Component } from '@angular/core';
|
2
|
|
-import { NavController, NavParams, ViewController, ModalController, ToastController } from 'ionic-angular';
|
|
2
|
+import { NavController, NavParams, ModalController, ToastController } from 'ionic-angular';
|
3
|
3
|
import { BeerService } from '../../providers/beer-service';
|
4
|
4
|
import { GiphyService } from '../../providers/giphy-service';
|
5
|
5
|
import { BeerModalPage } from './beer-modal';
|
|
@@ -39,7 +39,7 @@ export class BeerPage {
|
39
|
39
|
if (this.beers[i] === beer) {
|
40
|
40
|
this.beers.splice(i, 1);
|
41
|
41
|
let toast = this.toastCtrl.create({
|
42
|
|
- message: 'Beer "' + beer.name + '" deleted successfully.',
|
|
42
|
+ message: 'Beer "' + beer.name + '" deleted.',
|
43
|
43
|
duration: 2000,
|
44
|
44
|
position: 'top'
|
45
|
45
|
});
|