fix: refresh tap
This commit is contained in:
@@ -254,7 +254,7 @@ class AlbumHomeWidgetService {
|
||||
|
||||
Future<void> _refreshAlbumsWidget() async {
|
||||
// only refresh if widget was synced without issues
|
||||
if (getAlbumsStatus() == WidgetStatus.syncedAll) return;
|
||||
if (await countHomeWidgets() == 0) return;
|
||||
await _refreshWidget(message: "Refreshing from existing album set");
|
||||
}
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@ class MemoryHomeWidgetService {
|
||||
|
||||
Future<void> _refreshMemoriesWidget() async {
|
||||
// only refresh if widget was synced without issues
|
||||
if (getMemoriesStatus() == WidgetStatus.syncedAll) return;
|
||||
if (await countHomeWidgets() == 0) return;
|
||||
await _refreshWidget(message: "Refreshing from existing memory set");
|
||||
}
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ class PeopleHomeWidgetService {
|
||||
|
||||
Future<void> _refreshPeopleWidget() async {
|
||||
// only refresh if widget was synced without issues
|
||||
if (getPeopleStatus() == WidgetStatus.syncedAll) return;
|
||||
if (await countHomeWidgets() == 0) return;
|
||||
await _refreshWidget(message: "Refreshing from existing people set");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user