I'm trying to configure a watch face I am working on. I can't seem to make the condition work. The Condition documentation is hard for me to understand - with lack of examples (online and in-documentation).
List of Configuration:
<ListConfiguration id="handStyle" displayName="Hand Style" defaultValue="1">
<ListOption id="0" displayName="hand_style_filled" />
<ListOption id="1" displayName="hand_style_outline" />
</ListConfiguration>
Snippet of the code segment:
<Condition expression="[CONFIGURATION.handStyle.id] == 0">
<PartImage x="88" y="30" width="14" height="140" pivotX="0.5" pivotY="1.0" tintColor="[CONFIGURATION.themeColor.1]">
<Variant mode="AMBIENT" target="alpha" value="0" />
<Image resource="hour_arm_one" />
</PartImage>
</Condition>
<Condition expression="[CONFIGURATION.handStyle.id] == 1">
<PartImage x="88" y="30" width="14" height="140" pivotX="0.5" pivotY="1.0" tintColor="[CONFIGURATION.themeColor.1]">
<Variant mode="AMBIENT" target="alpha" value="0" />
<Image resource="hour_arm_one_outline" />
</PartImage>
</Condition>
Things I have tried:
I've tried too many things for me to list here including the most obvious (for me):
<Condition expression="[CONFIGURATION.handStyle.id] == 1"><-- no quotes<Condition expression="[CONFIGURATION.handStyle.id] == '1'"><-- w/ quotes
What I want to achieve:
When the user selects displayName the corresponding [conditional] code should be triggered.