Skip to content
Snippets Groups Projects
Commit 96d65899 authored by Jeremy Guiselin's avatar Jeremy Guiselin
Browse files

correct display toast translated message

parent af4fad95
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
show : function (message, duration, location) {
$translate(message).then(function (data) {
if (window.cordova) {
$cordovaToast.show(message, duration, location);
$cordovaToast.show(data, duration, location);
} else {
console.log(data);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment