Swap LaunchedEffect key for clarity
This commit is contained in:
@@ -99,8 +99,8 @@ private fun FeedLoaded(
|
|||||||
val notificationCache = notificationCacheState.value ?: return
|
val notificationCache = notificationCacheState.value ?: return
|
||||||
val context = LocalContext.current.applicationContext
|
val context = LocalContext.current.applicationContext
|
||||||
|
|
||||||
|
LaunchedEffect(key1 = markAsRead.value) {
|
||||||
if (markAsRead.value) {
|
if (markAsRead.value) {
|
||||||
LaunchedEffect(key1 = notificationCache) {
|
|
||||||
for (note in state.feed.value) {
|
for (note in state.feed.value) {
|
||||||
note.event?.let {
|
note.event?.let {
|
||||||
var route = ""
|
var route = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user