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

This commit is contained in:
Francis Lachapelle
2020-08-04 16:16:09 -04:00
parent cd95649f08
commit 1cb9a83f6f
2 changed files with 5 additions and 4 deletions
@@ -249,7 +249,7 @@
this.folder.$compact().then(function() {
$mdToast.show(
$mdToast.simple()
.content(l('Folder compacted'))
.textContent(l('Folder compacted'))
.position('top right')
.hideDelay(3000));
});
@@ -259,7 +259,7 @@
this.folder.$emptyTrash().then(function() {
$mdToast.show(
$mdToast.simple()
.content(l('Trash emptied'))
.textContent(l('Trash emptied'))
.position('top right')
.hideDelay(3000));
});