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
@@ -486,7 +486,7 @@
vm.selectedFolder.$copyMessages(selectedMessages, '/' + dstFolder).then(function() {
$mdToast.show(
$mdToast.simple()
.content(l('%{0} message(s) copied', vm.selectedFolder.$selectedCount()))
.textContent(l('%{0} message(s) copied', vm.selectedFolder.$selectedCount()))
.position('top right')
.hideDelay(2000));
});
@@ -500,7 +500,7 @@
vm.selectedFolder.$moveMessages(selectedMessages, '/' + dstFolder).then(function(index) {
$mdToast.show(
$mdToast.simple()
.content(l('%{0} message(s) moved', count))
.textContent(l('%{0} message(s) moved', count))
.position('top right')
.hideDelay(2000));
if (Mailbox.$virtualMode) {