diff --git a/app/src/main/java/com/simplemobiletools/gallery/activities/MediaActivity.java b/app/src/main/java/com/simplemobiletools/gallery/activities/MediaActivity.java index 3682dadc0..5e0656d6a 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/activities/MediaActivity.java +++ b/app/src/main/java/com/simplemobiletools/gallery/activities/MediaActivity.java @@ -112,8 +112,6 @@ public class MediaActivity extends SimpleActivity return; } - rescanDirectory(); - mMedia = newMedia; if (isDirEmpty()) return; @@ -444,6 +442,7 @@ public class MediaActivity extends SimpleActivity @Override public void onRefresh() { + rescanDirectory(); initializeGallery(); mSwipeRefreshLayout.setRefreshing(false); }