remove debug print

master
Gordon Williams 2020-06-04 15:43:20 +01:00
parent 519262793d
commit 8ec7878ede
2 changed files with 7 additions and 1 deletions

View File

@ -19,6 +19,13 @@ options = {
};
// eg... show notification
require("notify").show({title:"Test", body:"Hello"});
// or display lots of text, with a phone icon
require("notify").show({
title:"Hello",
src:"Test",
body:"This is a really really really long bit of text that has to be wrapped",
icon:require("heatshrink").decompress(atob("jEYxH+ACcejwUUAAYWVjESCqoABCqoYNCpQXLCxgXJQowtTA4ZbSZiwW/C4gWWjAXVZwIuVWhxFIC6z6OLpIXSCywXYDAIWVAAYXTA=="))
});
// remove it (can also be removed by tapping)
require("notify").hide();
```

View File

@ -66,7 +66,6 @@ exports.show = function(options) {
body += " " + words[i];
}
}
console.log(body);
g.setColor(-1).setFont("6x8", 1).setFontAlign(-1, -1, 0).drawString(body, x-4, y+4);
}