Route notification deep link through for you screen, with spotless fixes

pull/1837/head
TJ Dahunsi 2 years ago
parent 7312b33e9e
commit bdff1bfc01

@ -129,10 +129,12 @@ class OfflineFirstNewsRepository @Inject constructor(
.first() .first()
.map(PopulatedNewsResource::asExternalModel) .map(PopulatedNewsResource::asExternalModel)
if (addedNewsResources.isNotEmpty()) notifier.postNewsNotifications( if (addedNewsResources.isNotEmpty()) {
notifier.postNewsNotifications(
newsResources = addedNewsResources, newsResources = addedNewsResources,
) )
} }
}
}, },
) )
} }

Loading…
Cancel
Save