fix(android): avoid triggering a refresh on saving posts

The underlying issue is still not resolved since work on paging has stalled out in
Store5, but this trades the bad UX of an unwanted refresh for the slightly less
bad UX of the saved state sometimes being stale.

Fixes #558
This commit is contained in:
Harsh Shandilya 2024-08-28 12:23:17 +05:30
parent c8d1491196
commit 6f424ae2d5
2 changed files with 1 additions and 4 deletions

View file

@ -100,7 +100,6 @@ fun LobstersCard(
Modifier.clickable(role = Role.Button) {
localSavedState = !localSavedState
postActions.toggleSave(post)
refresh()
},
)
HorizontalDivider(modifier = Modifier.width(48.dp))