Fixing the scope in HomeDataSource.
This commit is contained in:
@@ -34,7 +34,7 @@ object NostrHomeDataSource : NostrDataSource("HomeFeed") {
|
|||||||
|
|
||||||
override fun start() {
|
override fun start() {
|
||||||
job?.cancel()
|
job?.cancel()
|
||||||
job = account.scope.launch(Dispatchers.IO) {
|
job = scope.launch(Dispatchers.IO) {
|
||||||
// creates cache on main
|
// creates cache on main
|
||||||
withContext(Dispatchers.Main) {
|
withContext(Dispatchers.Main) {
|
||||||
account.userProfile().live()
|
account.userProfile().live()
|
||||||
|
|||||||
Reference in New Issue
Block a user