Allow addons to use custom template for proposal row on home screen.

This commit is contained in:
Kosta Korenkov 2015-08-11 17:40:24 +03:00
commit f41be9f4e5
3 changed files with 7 additions and 2 deletions

View file

@ -27,4 +27,8 @@ angular.module('copayApp.services').service('addonManager', function (lodash) {
});
};
this.txTemplateUrl = function() {
var addon = lodash.find(addons, 'txTemplateUrl');
return addon ? addon.txTemplateUrl() : null;
}
});