Remove statements to avoid polluting the logs. Modify the timing on the flow producer.
This commit is contained in:
+1
-2
@@ -52,7 +52,6 @@ class FollowSetState(
|
||||
suspend fun getFollowSetNotes() =
|
||||
withContext(Dispatchers.Default) {
|
||||
val followSetNotes = LocalCache.getFollowSetNotesFor(user)
|
||||
Log.d(this@FollowSetState.javaClass.simpleName, "Number of follow sets: ${followSetNotes.size}")
|
||||
return@withContext followSetNotes
|
||||
}
|
||||
|
||||
@@ -62,7 +61,7 @@ class FollowSetState(
|
||||
val followSetNotes = getFollowSetNotes()
|
||||
val followSets = followSetNotes.map { mapNoteToFollowSet(it) }
|
||||
emit(followSets)
|
||||
delay(1000)
|
||||
delay(2000)
|
||||
}
|
||||
}.flowOn(Dispatchers.Default)
|
||||
|
||||
|
||||
-1
@@ -412,7 +412,6 @@ fun observeUserIsFollowing(
|
||||
// Subscribe in the relay for changes in the metadata of this user.
|
||||
UserFinderFilterAssemblerSubscription(user1, accountViewModel)
|
||||
val isUserInFollowSets = accountViewModel.account.followSetsState.isUserInFollowSets(user2)
|
||||
println("Is ${user2.toBestDisplayName()} in a Follow set? $isUserInFollowSets")
|
||||
|
||||
// Subscribe in the LocalCache for changes that arrive in the device
|
||||
val flow =
|
||||
|
||||
Reference in New Issue
Block a user