mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
fix single shot type on random widget
Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
9d19c5e3f3
commit
c413dc2ce2
@ -35,7 +35,7 @@ class RandomReceiver : GlanceAppWidgetReceiver() {
|
|||||||
val glanceIds = AppWidgetManager.getInstance(context).getAppWidgetIds(provider)
|
val glanceIds = AppWidgetManager.getInstance(context).getAppWidgetIds(provider)
|
||||||
|
|
||||||
glanceIds.forEach { widgetID ->
|
glanceIds.forEach { widgetID ->
|
||||||
ImageDownloadWorker.singleShot(context, widgetID, WidgetType.MEMORIES)
|
ImageDownloadWorker.singleShot(context, widgetID, WidgetType.RANDOM)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user