mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-08 09:28:47 +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));
|
||||
}
|
||||
|
||||
} catch (final IOException x) {
|
||||
log.info("IO problem while querying for nearby locations to " + referenceLocation, x);
|
||||
} finally {
|
||||
runOnUiThread(() -> {
|
||||
actionBar.stopProgress();
|
||||
loading = false;
|
||||
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