forked from FOSS/BangleApps
No double json parse >.<
parent
aa55094e22
commit
6eed1b5760
|
@ -153,7 +153,7 @@
|
||||||
|
|
||||||
function load() {
|
function load() {
|
||||||
Util.showModal('Loading...');
|
Util.showModal('Loading...');
|
||||||
Puck.eval(`require('Storage').readJSON(${JSON.stringify('presentor.json')})`,data => {
|
Puck.eval(`require('Storage').read(${JSON.stringify('presentor.json')})`,data => {
|
||||||
Util.hideModal();
|
Util.hideModal();
|
||||||
loadJSON(data);
|
loadJSON(data);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue