diff options
author | Allan Wang <me@allanwang.ca> | 2021-11-23 11:58:30 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-11-23 11:58:30 -0800 |
commit | e8d9dca1ede1295f67e27faf731a5caa1bd2810a (patch) | |
tree | a500c321ee411fc0107221971d29cb659d6d61c1 /app/src/main/kotlin/com/pitchedapps/frost/views/FrostContentView.kt | |
parent | 0c97abd838ee834ef17d1b2e746fa26ea9663bd5 (diff) | |
download | frost-e8d9dca1ede1295f67e27faf731a5caa1bd2810a.tar.gz frost-e8d9dca1ede1295f67e27faf731a5caa1bd2810a.tar.bz2 frost-e8d9dca1ede1295f67e27faf731a5caa1bd2810a.zip |
Convert login refresh channel to flow and remove some outdated tests
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/views/FrostContentView.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/views/FrostContentView.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostContentView.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostContentView.kt index f9d04ad1..d2083816 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostContentView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostContentView.kt @@ -132,6 +132,9 @@ abstract class FrostContentViewBase( /** * While this can be conflated, there exist situations where we wish to watch refresh cycles. * Here, we'd need to make sure we don't skip events + * + * TODO ensure there is only one flow provider is this is still separated in login + * Use case for shared flow is to avoid emitting before subscribing; buffer can probably be size 1 */ private val refreshMutableFlow = MutableSharedFlow<Boolean>( extraBufferCapacity = 10, |