aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/views/FrostRecyclerView.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-01-22 23:42:39 -0500
committerAllan Wang <me@allanwang.ca>2019-01-22 23:42:39 -0500
commite874b788753ce69ea561b41dc13dfb230c750690 (patch)
treef4b9b072cd8fb2d6428fc049dc2c8211d346e689 /app/src/main/kotlin/com/pitchedapps/frost/views/FrostRecyclerView.kt
parentbc623f740eaf74a16eaed241448b802ff26b4197 (diff)
downloadfrost-e874b788753ce69ea561b41dc13dfb230c750690.tar.gz
frost-e874b788753ce69ea561b41dc13dfb230c750690.tar.bz2
frost-e874b788753ce69ea561b41dc13dfb230c750690.zip
Add back runOnUiThread
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/views/FrostRecyclerView.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/views/FrostRecyclerView.kt3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostRecyclerView.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostRecyclerView.kt
index 9e0b70b2..b9fe69d1 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostRecyclerView.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostRecyclerView.kt
@@ -27,10 +27,8 @@ import com.pitchedapps.frost.contracts.FrostContentContainer
import com.pitchedapps.frost.contracts.FrostContentCore
import com.pitchedapps.frost.contracts.FrostContentParent
import com.pitchedapps.frost.fragments.RecyclerContentContract
-import com.pitchedapps.frost.utils.L
import com.pitchedapps.frost.utils.Prefs
import kotlinx.coroutines.ExperimentalCoroutinesApi
-import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.launch
import kotlinx.coroutines.supervisorScope
@@ -83,7 +81,6 @@ class FrostRecyclerView @JvmOverloads constructor(
recyclerContract.reload { parent.progressChannel.offer(it) }
}
} catch (e: Exception) {
-
}
parent.progressChannel.offer(100)
parent.refreshChannel.offer(false)