Hi,

any idea why the CoverBackgrounds onStateChanged does not fire in this code
sample:

CoverBackground {
onStateChanged: {

        console.debug("--> Cover state = " + state);

        if (state === Cover.Active)

            console.debug("--> Do stuff!!!");

    }


If I create a timer with running: state===Cover.Active the timer runs when
the cover is active and stops when it's not.

I'd really like to update some stuff on my cover everytime it comes visible.

// Peter Pykäläinen
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to