From 4c2320d06ae385c816311013eaf1962c6b8d45b5 Mon Sep 17 00:00:00 2001 From: Naveen Singh Date: Wed, 25 Sep 2024 10:24:32 +0530 Subject: [PATCH] Enable the loading indicator --- .../main/kotlin/org/fossify/gallery/activities/MediaActivity.kt | 2 +- app/src/main/res/layout/activity_media.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/org/fossify/gallery/activities/MediaActivity.kt b/app/src/main/kotlin/org/fossify/gallery/activities/MediaActivity.kt index cb120b8f8..4c6602a43 100644 --- a/app/src/main/kotlin/org/fossify/gallery/activities/MediaActivity.kt +++ b/app/src/main/kotlin/org/fossify/gallery/activities/MediaActivity.kt @@ -49,7 +49,7 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener { private var mAllowPickingMultiple = false private var mShowAll = false private var mLoadedInitialPhotos = false - private var mShowLoadingIndicator = false + private var mShowLoadingIndicator = true private var mWasFullscreenViewOpen = false private var mLastSearchedText = "" private var mLatestMediaId = 0L diff --git a/app/src/main/res/layout/activity_media.xml b/app/src/main/res/layout/activity_media.xml index 39691bb59..daebcb237 100644 --- a/app/src/main/res/layout/activity_media.xml +++ b/app/src/main/res/layout/activity_media.xml @@ -20,7 +20,7 @@ android:visibility="gone" app:hideAnimationBehavior="inward" app:showAnimationBehavior="outward" - app:showDelay="300" + app:showDelay="500" tools:visibility="visible" />