clears the index cache when changing status fields.

This commit is contained in:
Vitor Pamplona 2023-08-27 19:16:58 -04:00
parent bc5500731d
commit 6c54082a12

View File

@ -151,7 +151,7 @@ fun RotateStatuses(
accountViewModel: AccountViewModel,
nav: (String) -> Unit
) {
var indexToDisplay by remember {
var indexToDisplay by remember(statuses) {
mutableIntStateOf(0)
}