ui: prevent moving marker and updating mock location on map tap when service is disabled
This commit is contained in:
1 parent
80bba05ecf
commit
2f5b852e00
1 file changed
+1
@@ -581,6 +581,7 @@ fun LocationScreen(
|
||||
context.getString(R.string.location_mock_disabled_prompt),
|
||||
Toast.LENGTH_SHORT
|
||||
).show()
|
||||
return true
|
||||
}
|
||||
// 点击地图位置时,只移动标记,不把点击位置强制作为视图中心
|
||||
updatePositionAndResolveName(
|
||||
|
||||
Reference in new issue
Block a user