mirror of
https://github.com/PranshulGG/WeatherMaster.git
synced 2026-10-22 02:52:37 -05:00
add countryCode support to location models closes #887
This commit is contained in:
1 parent
b02d11369d
commit
27937ad90f
1 file changed
+2
-1
+2
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user