mirror of https://github.com/espruino/BangleApps
fix for #2689
commented out of the old code (it could be useful during the re-implementation of the music interface)pull/2690/head
parent
fb694036a4
commit
ebf27aa14f
|
@ -467,7 +467,7 @@ const updateTimeout = function(){
|
|||
if (settings.timeOut!="Off"){
|
||||
removeTimeout();
|
||||
if( callInProgress) return; //c'è una chiamata in corso -> no timeout
|
||||
if( music!=undefined && EventQueue.length==0 ) return; //ho aperto l'interfaccia della musica e non ho messaggi davanti -> no timeout
|
||||
//if( typeof music !== 'undefined' && EventQueue.length==0 ) return; //ho aperto l'interfaccia della musica e non ho messaggi davanti -> no timeout
|
||||
|
||||
|
||||
let time=parseInt(settings.timeOut); //the "s" will be trimmed by the parseInt
|
||||
|
|
Loading…
Reference in New Issue