fix(web(js)): remove calls to deprecated functions in ng-material

This commit is contained in:
Francis Lachapelle
2020-08-04 16:12:52 -04:00
parent 8642ff9d00
commit cd95649f08
14 changed files with 30 additions and 24 deletions
@@ -187,7 +187,7 @@
$mdToast.show(
$mdToast.simple()
.content(msg)
.textContent(msg)
.position('top right')
.hideDelay(3000));
},
@@ -335,7 +335,7 @@
AddressBook.$subscribe(addressbookData.owner, addressbookData.name).then(function(data) {
$mdToast.show(
$mdToast.simple()
.content(l('Successfully subscribed to address book'))
.textContent(l('Successfully subscribed to address book'))
.position('top right')
.hideDelay(3000));
});
@@ -363,7 +363,7 @@
if (cards.length != allCards.length)
$mdToast.show(
$mdToast.simple()
.content(l("Lists can't be moved or copied."))
.textContent(l("Lists can't be moved or copied."))
.position('top right')
.hideDelay(2000));
@@ -386,7 +386,7 @@
$state.go('app.addressbook');
$mdToast.show(
$mdToast.simple()
.content(success)
.textContent(success)
.position('top right')
.hideDelay(2000));
});