Complete

WERETECH-10739

Fixed

Bug in compilator , with String.equals and utf8 symbol

Function Always show false, but symbol the same. 

var dTExt = "";  

Toybox.System.println( ((dTExt.equals("") ))  );  


Parents
  • Yes. ) now to equal that symbols i just added other not utf8 symbol. 
    I long time didn't understand, why simple function give my wrong results) 

    *offtop 
    In suggestion  add  a callback function to the sdk WatchUi.WatchFace 
    Determinate when something drawing on the screen message like: ("Connection lost/established", "Low phone battery", "chime o'clock")
    run before the last onUpdate() calling
    Function very needed for energy efficient wachface. Now i wrote "crutches" instead  of her  (by counting the number of step-by-step onUpdate calls)

Comment
  • Yes. ) now to equal that symbols i just added other not utf8 symbol. 
    I long time didn't understand, why simple function give my wrong results) 

    *offtop 
    In suggestion  add  a callback function to the sdk WatchUi.WatchFace 
    Determinate when something drawing on the screen message like: ("Connection lost/established", "Low phone battery", "chime o'clock")
    run before the last onUpdate() calling
    Function very needed for energy efficient wachface. Now i wrote "crutches" instead  of her  (by counting the number of step-by-step onUpdate calls)

Children
No Data