From d2f35e48ad427fbc95fcd54d16d4bff991f69e64 Mon Sep 17 00:00:00 2001 From: Mike Nakhimovich Date: Tue, 28 May 2019 22:00:09 -0400 Subject: [PATCH] Update PersistingStoreActivity.kt --- .../com/nytimes/android/sample/PersistingStoreActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/nytimes/android/sample/PersistingStoreActivity.kt b/app/src/main/java/com/nytimes/android/sample/PersistingStoreActivity.kt index 90a1c5e..7092840 100644 --- a/app/src/main/java/com/nytimes/android/sample/PersistingStoreActivity.kt +++ b/app/src/main/java/com/nytimes/android/sample/PersistingStoreActivity.kt @@ -57,9 +57,7 @@ class PersistingStoreActivity : AppCompatActivity(), CoroutineScope { cache. Subsequent calls will retrieve the cached version of the data. */ launch { - showPosts( - sanitizeData( - persistedStore.get(awwRequest))) + showPosts(sanitizeData(persistedStore.get(awwRequest))) } }