From 65c04f94ecd862ec2ba195e0128da84f79647ef1 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 23 Mar 2026 07:07:17 +0000 Subject: fix: resolve Kotlin compilation errors from UI refactor - Make InstrumentHandler.labelTrend and barometerTrendView nullable - Remove anchorWatchHandler init block referencing non-existent view IDs - Fix state.radiusM -> state.watchCircleRadiusMeters - Add bottom_nav_weather_menu.xml with nav_forecast; point WeatherActivity at it Co-Authored-By: Claude Sonnet 4.6 --- android-app/app/src/main/res/layout/activity_weather.xml | 2 +- android-app/app/src/main/res/menu/bottom_nav_weather_menu.xml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 android-app/app/src/main/res/menu/bottom_nav_weather_menu.xml (limited to 'android-app/app/src/main/res') diff --git a/android-app/app/src/main/res/layout/activity_weather.xml b/android-app/app/src/main/res/layout/activity_weather.xml index 36ea871..68374ca 100644 --- a/android-app/app/src/main/res/layout/activity_weather.xml +++ b/android-app/app/src/main/res/layout/activity_weather.xml @@ -14,7 +14,7 @@ android:id="@+id/bottom_nav" android:layout_width="match_parent" android:layout_height="wrap_content" - app:menu="@menu/bottom_nav_menu" + app:menu="@menu/bottom_nav_weather_menu" xmlns:app="http://schemas.android.com/apk/res-auto" /> diff --git a/android-app/app/src/main/res/menu/bottom_nav_weather_menu.xml b/android-app/app/src/main/res/menu/bottom_nav_weather_menu.xml new file mode 100644 index 0000000..d3c1427 --- /dev/null +++ b/android-app/app/src/main/res/menu/bottom_nav_weather_menu.xml @@ -0,0 +1,11 @@ + + + + + -- cgit v1.2.3