diff options
| author | donEgro <egermajer.martin@gmail.com> | 2013-04-20 22:13:29 +0200 |
|---|---|---|
| committer | donEgro <egermajer.martin@gmail.com> | 2013-04-20 22:13:29 +0200 |
| commit | 705dc21ac799f786e6c7b76f9588ff22aa25a05f (patch) | |
| tree | 0a700d730aad5fbf5f68d5edd233bbe07980b624 /main/src/cgeo/geocaching/cgeocaches.java | |
| parent | 8c3917655f80ee66ca226adfeba5460a92afecf5 (diff) | |
| download | cgeo-705dc21ac799f786e6c7b76f9588ff22aa25a05f.zip cgeo-705dc21ac799f786e6c7b76f9588ff22aa25a05f.tar.gz cgeo-705dc21ac799f786e6c7b76f9588ff22aa25a05f.tar.bz2 | |
Fixed Issue #708 - Refresh caches + no internet = normal progress.
Diffstat (limited to 'main/src/cgeo/geocaching/cgeocaches.java')
| -rw-r--r-- | main/src/cgeo/geocaching/cgeocaches.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeocaches.java b/main/src/cgeo/geocaching/cgeocaches.java index 61a32f1..8fc61d4 100644 --- a/main/src/cgeo/geocaching/cgeocaches.java +++ b/main/src/cgeo/geocaching/cgeocaches.java @@ -1082,6 +1082,11 @@ public class cgeocaches extends AbstractListActivity implements FilteredActivity return; } + if (!Network.isNetworkConnected(getApplicationContext())) { + showToast(getString(R.string.err_server)); + return; + } + if (Settings.getChooseList() && type != CacheListType.OFFLINE) { // let user select list to store cache in new StoredList.UserInterface(this).promptForListSelection(R.string.list_title, |
