Remove some keys for remember saveButtonEnabled.
This commit is contained in:
committed by
Benoit Marty
parent
2bdddff0c5
commit
d19238fc60
@@ -86,11 +86,8 @@ class RoomDetailsEditPresenter @Inject constructor(
|
||||
|
||||
val saveButtonEnabled by remember(
|
||||
roomRawNameTrimmed,
|
||||
roomRawNameEdited,
|
||||
roomTopicTrimmed,
|
||||
roomTopicEdited,
|
||||
roomAvatarUri,
|
||||
roomAvatarUriEdited,
|
||||
) {
|
||||
derivedStateOf {
|
||||
roomRawNameTrimmed != roomRawNameEdited.trim() ||
|
||||
|
||||
Reference in New Issue
Block a user