Skip to content

Commit 959c581

Browse files
committed
Refresh current location on refreshView()
1 parent 77b6d0c commit 959c581

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/fr/free/nrw/commons/nearby/NearbyActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ protected void onPause() {
258258
}
259259

260260
private void refreshView() {
261+
curLatLang = locationManager.getLatestLocation();
261262
nearbyAsyncTask = new NearbyAsyncTask(this);
262263
nearbyAsyncTask.execute();
263264
}

0 commit comments

Comments
 (0)