diff --git a/core/interfaces/src/main/kotlin/app/aaps/core/interfaces/rx/weardata/CustomWatchfaceFormat.kt b/core/interfaces/src/main/kotlin/app/aaps/core/interfaces/rx/weardata/CustomWatchfaceFormat.kt index 0cae6aa73d..7eb411bed4 100644 --- a/core/interfaces/src/main/kotlin/app/aaps/core/interfaces/rx/weardata/CustomWatchfaceFormat.kt +++ b/core/interfaces/src/main/kotlin/app/aaps/core/interfaces/rx/weardata/CustomWatchfaceFormat.kt @@ -268,6 +268,9 @@ enum class JsonKeys(val key: String) { DYNPREF("dynPref"), DYNPREFCOLOR("dynPrefColor"), PREFKEY("prefKey"), + INVALIDTOPOFFSET("invalidTopOffset"), + INVALIDLEFTOFFSET("invalidLeftOffset"), + INVALIDROTATIONOFFSET("invalidRotationOffset"), DEFAULT("default") } diff --git a/wear/src/main/kotlin/app/aaps/wear/watchfaces/CustomWatchface.kt b/wear/src/main/kotlin/app/aaps/wear/watchfaces/CustomWatchface.kt index 73f917e8a3..7b94983183 100644 --- a/wear/src/main/kotlin/app/aaps/wear/watchfaces/CustomWatchface.kt +++ b/wear/src/main/kotlin/app/aaps/wear/watchfaces/CustomWatchface.kt @@ -819,9 +819,9 @@ class CustomWatchface : BaseWatchFace() { getColorSteps(dynColor, COLOR.key, INVALIDCOLOR.key) getColorSteps(dynFontColor, FONTCOLOR.key, INVALIDFONTCOLOR.key) getIntSteps(dynTextSize, TEXTSIZE.key, INVALIDTEXTSIZE.key) - getIntSteps(dynLeftOffset, LEFTOFFSET.key, INVALIDTEXTSIZE.key) - getIntSteps(dynTopOffset, TOPOFFSET.key, INVALIDTEXTSIZE.key) - getIntSteps(dynRotationOffset, ROTATIONOFFSET.key, INVALIDTEXTSIZE.key) + getIntSteps(dynLeftOffset, LEFTOFFSET.key, INVALIDLEFTOFFSET.key) + getIntSteps(dynTopOffset, TOPOFFSET.key, INVALIDTOPOFFSET.key) + getIntSteps(dynRotationOffset, ROTATIONOFFSET.key, INVALIDROTATIONOFFSET.key) } private fun getDrawableSteps(dynMap: MutableMap, key: String, invalidKey: String) {