Fixing the scope in HomeDataSource.

This commit is contained in:
Vitor Pamplona
2023-11-30 15:02:16 -05:00
parent 5347373cde
commit eca420d789
@@ -34,7 +34,7 @@ object NostrHomeDataSource : NostrDataSource("HomeFeed") {
override fun start() {
job?.cancel()
job = account.scope.launch(Dispatchers.IO) {
job = scope.launch(Dispatchers.IO) {
// creates cache on main
withContext(Dispatchers.Main) {
account.userProfile().live()