mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 17:37:05 +05:30
common: use the boolean operator
This commit is contained in:
parent
943ee382d8
commit
adbda57652
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ fun LobstersCard(
|
|||
isSaved = localSavedState,
|
||||
modifier =
|
||||
Modifier.clickable {
|
||||
localSavedState = localSavedState.not()
|
||||
localSavedState = !localSavedState
|
||||
postActions.toggleSave(post)
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue