Hiding progress on manual google places refresh

master
Tomasz Półgrabia 2016-10-09 22:02:59 +02:00
parent 43b94f923b
commit 0a078f1321
1 changed files with 3 additions and 0 deletions

View File

@ -288,6 +288,9 @@ public class PlacesFragment extends Fragment {
if (nextPageToken == null) { if (nextPageToken == null) {
noMoreResults = true; noMoreResults = true;
} }
MainActivity activity = (MainActivity) getActivity();
activity.hideProgress();
semaphore.release(); semaphore.release();
} }