From 96d658990e8acf057a1d7c724199df3891ca4272 Mon Sep 17 00:00:00 2001
From: Jeremy Guiselin <jeremy.guiselin@student.ecp.fr>
Date: Mon, 23 Jan 2017 12:49:00 +0100
Subject: [PATCH] correct display toast translated message

---
 www/js/modules/toast/service.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/js/modules/toast/service.js b/www/js/modules/toast/service.js
index f0eaa7c..39b548c 100644
--- a/www/js/modules/toast/service.js
+++ b/www/js/modules/toast/service.js
@@ -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);
           }
-- 
GitLab