From 022cd92f4c23a884dbad517965d17b3dd09f2f1d Mon Sep 17 00:00:00 2001 From: Adetunji Dahunsi Date: Tue, 25 Apr 2023 05:38:24 -0400 Subject: [PATCH] Update core/data/src/main/java/com/google/samples/apps/nowinandroid/core/data/repository/OfflineFirstNewsRepository.kt Co-authored-by: Don Turner --- .../core/data/repository/OfflineFirstNewsRepository.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/data/src/main/java/com/google/samples/apps/nowinandroid/core/data/repository/OfflineFirstNewsRepository.kt b/core/data/src/main/java/com/google/samples/apps/nowinandroid/core/data/repository/OfflineFirstNewsRepository.kt index 27590b0b7..5467deb73 100644 --- a/core/data/src/main/java/com/google/samples/apps/nowinandroid/core/data/repository/OfflineFirstNewsRepository.kt +++ b/core/data/src/main/java/com/google/samples/apps/nowinandroid/core/data/repository/OfflineFirstNewsRepository.kt @@ -75,7 +75,7 @@ class OfflineFirstNewsRepository @Inject constructor( modelDeleter = newsResourceDao::deleteNewsResources, modelUpdater = { changedIds -> val userData = niaPreferencesDataSource.userData.first() - val hasOnBoarded = userData.shouldHideOnboarding + val hasOnboarded = userData.shouldHideOnboarding val followedTopicIds = userData.followedTopics // TODO: Make this more efficient, there is no need to retrieve populated