forked from FOSS/BangleApps
Try different JSON format
parent
a20a2e4292
commit
c1a48e7b48
|
@ -333,7 +333,8 @@ function loadTokens() {
|
|||
*/
|
||||
function saveTokens() {
|
||||
Util.showModal('Saving...');
|
||||
Puck.write(`\x10require('Storage').write(${JSON.stringify('authentiwatch.json')},${JSON.stringify(tokens)})\n`,()=>{
|
||||
let save={data:tokens,count:tokens.length};
|
||||
Puck.write(`\x10require('Storage').write(${JSON.stringify('authentiwatch.json')},${JSON.stringify(save)})\n`,()=>{
|
||||
Util.hideModal();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue