Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

show socials notifications even in foreground

laurenspriem149b0121c87e
diff --git a/mobile/apps/photos/lib/services/sync/remote_sync_service.dart b/mobile/apps/photos/lib/services/sync/remote_sync_service.dart
index 9ab7774c33..387a1a9ed8 100644
--- a/mobile/apps/photos/lib/services/sync/remote_sync_service.dart
+++ b/mobile/apps/photos/lib/services/sync/remote_sync_service.dart
@@ -1248,8 +1248,7 @@ class RemoteSyncService {
bool _shouldShowSocialNotifications() {
return NotificationService.instance
.shouldShowNotificationsForSharedPhotos() &&
- isFirstRemoteSyncDone() &&
- !AppLifecycleService.instance.isForeground;
+ isFirstRemoteSyncDone();
}
_SocialNotificationGroup _notificationGroupForType(FeedItemType type) {