mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-05 02:20:18 +02:00
Swap LaunchedEffect key for clarity
This commit is contained in:
parent
6067a7d890
commit
bd8e9da966
@ -99,8 +99,8 @@ private fun FeedLoaded(
|
||||
val notificationCache = notificationCacheState.value ?: return
|
||||
val context = LocalContext.current.applicationContext
|
||||
|
||||
if (markAsRead.value) {
|
||||
LaunchedEffect(key1 = notificationCache) {
|
||||
LaunchedEffect(key1 = markAsRead.value) {
|
||||
if (markAsRead.value) {
|
||||
for (note in state.feed.value) {
|
||||
note.event?.let {
|
||||
var route = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user