• Hello!
    I'm trying to add a fullscreen mode to the default Launcher. The code is in this branch and it works. I'll send a PR to upstream later.

    I noticed that other fullscreen apps load the widgets overriding the draw method using this code:

    for (let wd of WIDGETS) {
    	wd.draw = () => {};
    	wd.area = ""; 
    }
    

    I like the idea so I updated the code:

    Bangle.loadWidgets();
    
    if (settings.fullscreen) {
    	for (let wd of WIDGETS) {
    		wd.draw = () => {};
    		wd.area = ""; 
    	}
    } else {
    	Bangle.drawWidgets();
    }
    

    I did some tests: the fullscreen mode works but I don't receive the notifications. The same approach works in other apps (like the Pebble Clock).

    Am I missing something?

    Thank you :-)

About

Avatar for Alessandro @Alessandro started