expose rpc for pinned usage

pull/1/head
ansuz 8 years ago
parent 8f4dbcf4c6
commit 95789d3cbe

@ -735,6 +735,11 @@ load pinpad dynamically only after you know that it will be needed */
});
};
var getPinnedUsage = common.getPinnedUsage = function (cb) {
if (!pinsReady()) { return void cb('[RPC_NOT_READY]'); }
rpc.getFileListSize(cb);
};
var createButton = common.createButton = function (type, rightside, data, callback) {
var button;
var size = "17px";

Loading…
Cancel
Save