From 5d0ff30e67525ed89d924ce23ba71adbc41344b2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 4 Apr 2017 18:12:07 +0200 Subject: [PATCH] remove some return statements --- .../com/simplemobiletools/gallery/activities/MainActivity.kt | 1 - .../com/simplemobiletools/gallery/activities/MediaActivity.kt | 1 - 2 files changed, 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt index 37fcd87af..15d2878a6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -169,7 +169,6 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener { } else if (!mLoadedInitialPhotos) { mLoadedInitialPhotos = true gotDirectories(dirs) - return } mLoadedInitialPhotos = true diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt index 5ae2904ef..e6eb87e39 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt @@ -224,7 +224,6 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener { } else if (!mLoadedInitialPhotos) { mLoadedInitialPhotos = true gotMedia(media) - return } mLoadedInitialPhotos = true