mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-09 15:08:46 +01:00
chore: mark as read when open image
This commit is contained in:
parent
efeccf9a53
commit
46baa4ec4c
@ -471,6 +471,11 @@ class CommunityDetailScreen(
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onImageClick = { url ->
|
onImageClick = { url ->
|
||||||
|
model.reduce(
|
||||||
|
CommunityDetailMviModel.Intent.MarkAsRead(
|
||||||
|
idx
|
||||||
|
)
|
||||||
|
)
|
||||||
navigator?.push(
|
navigator?.push(
|
||||||
ZoomableImageScreen(url),
|
ZoomableImageScreen(url),
|
||||||
)
|
)
|
||||||
|
@ -369,6 +369,7 @@ class PostListScreen : Screen {
|
|||||||
bottomSheetNavigator.show(screen)
|
bottomSheetNavigator.show(screen)
|
||||||
},
|
},
|
||||||
onImageClick = { url ->
|
onImageClick = { url ->
|
||||||
|
model.reduce(PostListMviModel.Intent.MarkAsRead(idx))
|
||||||
navigator?.push(
|
navigator?.push(
|
||||||
ZoomableImageScreen(url),
|
ZoomableImageScreen(url),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user