From 33772a15aa33a5260c919e27286a05d5edb64a5f Mon Sep 17 00:00:00 2001 From: Mugurell Date: Mon, 21 Mar 2022 08:49:40 +0200 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/24342 - Actually log when Pocket stories are shown Based on this we'll send telemetry and rotate the stories shown to prioritize fresh ones instead of the ones already shown. --- .../org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt b/app/src/main/java/org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt index 9c8e02ae2..32608331e 100644 --- a/app/src/main/java/org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt +++ b/app/src/main/java/org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt @@ -63,7 +63,7 @@ class PocketStoriesViewHolder( // We should report back when a certain story is actually being displayed. // Cannot do it reliably so for now we'll just mass report everything as being displayed. stories?.let { - interactor::onStoriesShown + interactor.onStoriesShown(it) } }