Skip to content

Commit

Permalink
fix #162 won't load DEM on first install
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrupczak3 committed Aug 23, 2024
1 parent fe38217 commit 2c0cb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/openathena/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ private void imageSelected(Uri uri)
matchingDemURI = dce.fileUri;
Log.d(TAG, "matchingDemURI is: " + matchingDemURI.getPath());
Log.d(TAG, "demUri is: " + ((demUri == null) ? "null" : demUri.getPath()));
if (!matchingDemURI.equals(demUri) && demUri != null) {
if (!matchingDemURI.equals(demUri) || demUri == null) {
if (dce.contains(lat, lon)) {
appendText(getString(R.string.main_activity_found_dem_in_cache_starting_load) + "\n");
demSelected(matchingDemURI);
Expand Down

0 comments on commit 2c0cb15

Please sign in to comment.