fix wording in comment popup

This commit is contained in:
Javier 2016-06-02 18:31:57 -03:00
commit c3ca7cdf2f
2 changed files with 2 additions and 3 deletions

View file

@ -34,8 +34,7 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
var commentPopup = $ionicPopup.show({
templateUrl: "views/includes/note.html",
title: gettextCatalog.getString('Enter a new comment'),
subTitle: gettextCatalog.getString('Save an empty content to delete it'),
title: !$scope.comment ? gettextCatalog.getString('Enter a new comment') : gettextCatalog.getString('Edit comment'),
scope: $scope,
});