Remove some keys for remember saveButtonEnabled.
This commit is contained in:
parent
2bdddff0c5
commit
d19238fc60
1 changed files with 0 additions and 3 deletions
|
|
@ -86,11 +86,8 @@ class RoomDetailsEditPresenter @Inject constructor(
|
||||||
|
|
||||||
val saveButtonEnabled by remember(
|
val saveButtonEnabled by remember(
|
||||||
roomRawNameTrimmed,
|
roomRawNameTrimmed,
|
||||||
roomRawNameEdited,
|
|
||||||
roomTopicTrimmed,
|
roomTopicTrimmed,
|
||||||
roomTopicEdited,
|
|
||||||
roomAvatarUri,
|
roomAvatarUri,
|
||||||
roomAvatarUriEdited,
|
|
||||||
) {
|
) {
|
||||||
derivedStateOf {
|
derivedStateOf {
|
||||||
roomRawNameTrimmed != roomRawNameEdited.trim() ||
|
roomRawNameTrimmed != roomRawNameEdited.trim() ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue