val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) } }
val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) } }
val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) } }
val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) } }
val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) } }
val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) } }
= moleculeScope.launchMolecule { val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) }
= moleculeScope.launchMolecule { val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) }
val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) } }
val posts by postsFlow.collectAsState(null) val likes by likesFlow.collectAsState(0L) return if (posts == null) { ProfileModel.Loading } else { ProfileModel.Success(posts, likes) } }