We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328d9f8 commit e983098Copy full SHA for e983098
presentation/src/main/java/com/stop/ui/mission/TMap.kt
@@ -31,8 +31,8 @@ class TMap(
31
}
32
33
private fun checkKoreaLocation(location: Location): Boolean {
34
- return location.longitude > KOREA_LONGITUDE_MIN && location.longitude < KOREA_LONGITUDE_MAX
35
- && location.latitude > KOREA_LATITUDE_MIN && location.latitude < KOREA_LATITUDE_MAX
+ return location.longitude in KOREA_LONGITUDE_MIN..KOREA_LONGITUDE_MAX
+ && location.latitude in KOREA_LATITUDE_MIN..KOREA_LATITUDE_MAX
36
37
38
fun init() {
0 commit comments