diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2014-01-12 13:12:16 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2014-01-12 13:12:16 +0100 |
| commit | d6acd75d48e3be99c3b96eda9eb89971289d09b3 (patch) | |
| tree | 2ca38c3004d328cead38e863334025eb322b23f8 /main/src/cgeo | |
| parent | 94035cd52e9ba07a8600200650ddda3c70cd0401 (diff) | |
| download | cgeo-d6acd75d48e3be99c3b96eda9eb89971289d09b3.zip cgeo-d6acd75d48e3be99c3b96eda9eb89971289d09b3.tar.gz cgeo-d6acd75d48e3be99c3b96eda9eb89971289d09b3.tar.bz2 | |
show toast if shortcut list does not exist anymore
Diffstat (limited to 'main/src/cgeo')
| -rw-r--r-- | main/src/cgeo/geocaching/CacheListActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/CacheListActivity.java b/main/src/cgeo/geocaching/CacheListActivity.java index 3d62e7e..538982a 100644 --- a/main/src/cgeo/geocaching/CacheListActivity.java +++ b/main/src/cgeo/geocaching/CacheListActivity.java @@ -1582,6 +1582,9 @@ public class CacheListActivity extends AbstractListActivity implements FilteredA } else { final StoredList list = DataStore.getList(listId); // list.id may be different if listId was not valid + if (list.id != listId) { + showToast(getString(R.string.list_not_available)); + } listId = list.id; title = list.title; } |
