mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-03 14:07:45 +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 ->
|
||||
model.reduce(
|
||||
CommunityDetailMviModel.Intent.MarkAsRead(
|
||||
idx
|
||||
)
|
||||
)
|
||||
navigator?.push(
|
||||
ZoomableImageScreen(url),
|
||||
)
|
||||
|
@ -369,6 +369,7 @@ class PostListScreen : Screen {
|
||||
bottomSheetNavigator.show(screen)
|
||||
},
|
||||
onImageClick = { url ->
|
||||
model.reduce(PostListMviModel.Intent.MarkAsRead(idx))
|
||||
navigator?.push(
|
||||
ZoomableImageScreen(url),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user