mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-08 20:08:06 +02:00
only updates reports for a different note
This commit is contained in:
parent
b1edf4e934
commit
288d80d163
@ -229,7 +229,7 @@ fun SlidingCarousel(
|
||||
VerticalPager(
|
||||
state = pagerState,
|
||||
beyondBoundsPageCount = 1,
|
||||
modifier = Modifier.fillMaxSize(1f),
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
key = { index ->
|
||||
feed.value.getOrNull(index)?.idHex ?: "$index"
|
||||
}
|
||||
@ -246,7 +246,7 @@ fun LoadedVideoCompose(
|
||||
accountViewModel: AccountViewModel,
|
||||
nav: (String) -> Unit
|
||||
) {
|
||||
var state by remember {
|
||||
var state by remember(note) {
|
||||
mutableStateOf(
|
||||
AccountViewModel.NoteComposeReportState()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user