From 27937ad90f33b678fec877b3bb4816ac2dbddbbc Mon Sep 17 00:00:00 2001 From: PranshulGG Date: Sat, 6 Jun 2026 13:25:40 +0530 Subject: [PATCH] add countryCode support to location models closes #887 --- .../weather_master_app/feature/intro/IntroScreenViewModel.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/pranshulgg/weather_master_app/feature/intro/IntroScreenViewModel.kt b/app/src/main/java/com/pranshulgg/weather_master_app/feature/intro/IntroScreenViewModel.kt index e5070fba8..5bbd689de 100644 --- a/app/src/main/java/com/pranshulgg/weather_master_app/feature/intro/IntroScreenViewModel.kt +++ b/app/src/main/java/com/pranshulgg/weather_master_app/feature/intro/IntroScreenViewModel.kt @@ -30,7 +30,8 @@ class IntroScreenViewModel @Inject constructor( locationsRepo.saveLocation( location.toDomain(context).copy( name = address.city, - country = address.country + country = address.country, + countryCode = address.countryCode ) ) } else {