Skip to content

Commit

Permalink
Merge branch 'country-has-trailing-comma-in-the-connect-screen-when-n…
Browse files Browse the repository at this point in the history
…o-droid-1503'
  • Loading branch information
Pururun committed Nov 20, 2024
2 parents 634338a + 77c5f84 commit 746b94d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,9 @@ private fun GeoIpLocation?.asString(): String {
else {
buildString {
append(country)
city?.let {
if (!city.isNullOrBlank()) {
append(", ")
append(it)
append(city)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ internal fun ManagementInterface.GeoIpLocation.toDomain(): GeoIpLocation =
null
},
country = country,
city = city,
city = if (hasCity()) city else null,
latitude = latitude,
longitude = longitude,
hostname = if (hasHostname()) hostname else null,
Expand Down

0 comments on commit 746b94d

Please sign in to comment.