Remove statements to avoid polluting the logs. Modify the timing on the flow producer.

This commit is contained in:
KotlinGeekDev
2025-09-26 12:32:44 +01:00
parent 9c024e334b
commit 45192d1cf7
2 changed files with 1 additions and 3 deletions
@@ -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)
@@ -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 =