• ok - the problem is something todo with the timer and the Bangle.on('lcdPower', function(on).

    Not sure why the following code is needed on a B2 when the screen is on all the time.

    // Only update when display turns on
    if (process.env.BOARD!="SMAQ3") // hack for Q3 which is always-on
    Bangle.on('lcdPower', function(on) {
      if (secondInterval)
        clearInterval(secondInterval);
      secondInterval = undefined;
      if (on)
        secondInterval = setInterval(draw, 1000);
      draw();
    });
    

    I've made the following changes and pastel clock now works with Full Screen Notifications.

    I think in future when users report issues with Gadgetbridge the first question should be to switch to one of the stock clocks.


    1 Attachment

    • Screenshot 2021-09-30 22.41.14.png
About

Avatar for HughB @HughB started