diff --git a/KittieCats/source/ComplicationSubscriber.mc b/KittieCats/source/ComplicationSubscriber.mc index f20159e..7d3b0aa 100644 --- a/KittieCats/source/ComplicationSubscriber.mc +++ b/KittieCats/source/ComplicationSubscriber.mc @@ -89,7 +89,7 @@ class ComplicationSubscriber case self.stepsComplicationId: { - self.steps = complication.unit.equals("K") ? Math.floor(complicationValue * 1000) : complicationValue; + self.steps = complication.unit != null && complication.unit.equals("K") ? Math.floor(complicationValue * 1000) : complicationValue; break; }