Skip to content

bug: Save button is always enabled on Edit Status screen #7004

@Yaddalapalli-Charan-Kumar-Naidu

Description

Describe the Bug

On the "Edit Status" screen, the "Save" button is supposed to be disabled until the user actually types a new message or selects a new status.

However, due to a logic error in how the app checks for changes, the app gets confused and always thinks a change has been made. As a result, the "Save" button is permanently lit up and clickable the moment you open the screen, even if you haven't touched anything.

Steps to Reproduce

  1. Open the app and go to Profile.
  2. Tap on Edit Status (Message field + Online/Busy/Away/Offline options).
  3. Do not change anything in the input field or the status selection.
  4. Observe the Save button at the bottom of the screen.

Expected Behavior

The Save button should be disabled when the current status and status text perfectly match what is already saved.

Actual Behavior

The Save button is instantly tappable and enabled, running an unnecessary save operation when clicked.

Rocket.Chat Server Version

8.2.0

Rocket.Chat App Version

4.70.0.9999999999

Device Name

Realme 12+

OS Version

Android 15

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions