mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 19:57:04 +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,
|
isSaved = localSavedState,
|
||||||
modifier =
|
modifier =
|
||||||
Modifier.clickable {
|
Modifier.clickable {
|
||||||
localSavedState = localSavedState.not()
|
localSavedState = !localSavedState
|
||||||
postActions.toggleSave(post)
|
postActions.toggleSave(post)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue