From c413dc2ce2de8a285dc426924c47c42237d5a371 Mon Sep 17 00:00:00 2001 From: Brandon Wees Date: Tue, 8 Jul 2025 14:29:51 -0500 Subject: [PATCH] fix single shot type on random widget Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com> --- .../main/kotlin/app/alextran/immich/widget/RandomReceiver.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/android/app/src/main/kotlin/app/alextran/immich/widget/RandomReceiver.kt b/mobile/android/app/src/main/kotlin/app/alextran/immich/widget/RandomReceiver.kt index 30fb01afbd..805bde7728 100644 --- a/mobile/android/app/src/main/kotlin/app/alextran/immich/widget/RandomReceiver.kt +++ b/mobile/android/app/src/main/kotlin/app/alextran/immich/widget/RandomReceiver.kt @@ -35,7 +35,7 @@ class RandomReceiver : GlanceAppWidgetReceiver() { val glanceIds = AppWidgetManager.getInstance(context).getAppWidgetIds(provider) glanceIds.forEach { widgetID -> - ImageDownloadWorker.singleShot(context, widgetID, WidgetType.MEMORIES) + ImageDownloadWorker.singleShot(context, widgetID, WidgetType.RANDOM) } } }