mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-08 17:58:49 +00:00
StationsActivity: Stop progress indicator when failing to query for nearby stations too.
This commit is contained in:
parent
ecfe4b9d17
commit
004fda9b6f
1 changed files with 3 additions and 3 deletions
|
@ -800,14 +800,14 @@ public class StationsActivity extends OeffiMainActivity implements StationsAware
|
||||||
|
|
||||||
runOnUiThread(() -> mergeIntoStations(freshStations, true));
|
runOnUiThread(() -> mergeIntoStations(freshStations, true));
|
||||||
}
|
}
|
||||||
|
} catch (final IOException x) {
|
||||||
|
log.info("IO problem while querying for nearby locations to " + referenceLocation, x);
|
||||||
|
} finally {
|
||||||
runOnUiThread(() -> {
|
runOnUiThread(() -> {
|
||||||
actionBar.stopProgress();
|
actionBar.stopProgress();
|
||||||
loading = false;
|
loading = false;
|
||||||
updateGUI();
|
updateGUI();
|
||||||
});
|
});
|
||||||
} catch (final IOException x) {
|
|
||||||
log.info("IO problem while querying for nearby locations to " + referenceLocation, x);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue