diff options
author | Allan Wang <me@allanwang.ca> | 2021-04-17 19:03:47 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-04-17 19:03:47 -0700 |
commit | a56dbf0f61e80225f0d86af43ea0f1d6efa5e66a (patch) | |
tree | 38dc6437ba4b669991dc61c92c87e27939e9a608 /app/src/main/kotlin/com/pitchedapps/frost/fragments | |
parent | e1ae3536102a5bb83a3c73c3731eb4af56b96914 (diff) | |
download | frost-a56dbf0f61e80225f0d86af43ea0f1d6efa5e66a.tar.gz frost-a56dbf0f61e80225f0d86af43ea0f1d6efa5e66a.tar.bz2 frost-a56dbf0f61e80225f0d86af43ea0f1d6efa5e66a.zip |
Injection checkpoint
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/fragments')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragments.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragments.kt b/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragments.kt index b282b36c..28962230 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragments.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragments.kt @@ -37,9 +37,9 @@ class NotificationFragment : FrostParserFragment<FrostNotifs, NotificationIItem> override fun getDoc(cookie: String?) = frostJsoup(cookie, "${FbItem.NOTIFICATIONS.url}?more") override fun toItems(response: ParseResponse<FrostNotifs>): List<NotificationIItem> = - response.data.notifs.map { NotificationIItem(it, response.cookie) } + response.data.notifs.map { NotificationIItem(it, response.cookie, themeProvider) } override fun bindImpl(recyclerView: FrostRecyclerView) { - NotificationIItem.bindEvents(adapter, fbCookie, prefs) + NotificationIItem.bindEvents(adapter, fbCookie, prefs, themeProvider) } } |