From a974e27ec1c62fb0cab5efe47ccf4db32e5d3e30 Mon Sep 17 00:00:00 2001 From: Andries Smit Date: Thu, 18 Aug 2022 10:48:24 +0200 Subject: [PATCH] fix: wear digital chart zoom --- .../androidaps/watchfaces/utils/WatchfaceViewAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wear/src/main/java/info/nightscout/androidaps/watchfaces/utils/WatchfaceViewAdapter.kt b/wear/src/main/java/info/nightscout/androidaps/watchfaces/utils/WatchfaceViewAdapter.kt index 3b1b8113b8..af60e9e3f3 100644 --- a/wear/src/main/java/info/nightscout/androidaps/watchfaces/utils/WatchfaceViewAdapter.kt +++ b/wear/src/main/java/info/nightscout/androidaps/watchfaces/utils/WatchfaceViewAdapter.kt @@ -70,7 +70,7 @@ class WatchfaceViewAdapter( val timePeriod = ds?.timePeriod val dayName = ds?.dayName val mainMenuTap = ds?.mainMenuTap ?: sP?.mainMenuTap - val chartZoomTap = sP?.chartZoomTap + val chartZoomTap = ds?.chartZoomTap ?: sP?.chartZoomTap val dateTime = ds?.dateTime ?: a2?.dateTime // val minuteHand = sP?.minuteHand // val secondaryLayout = aL?.secondaryLayout ?: a2?.secondaryLayout ?: aa?.secondaryLayout ?: ds?.secondaryLayout ?: sP?.secondaryLayout