Skip to content

[FIX] Search in Rooms List crashes Android app#4546

Merged
reinaldonetof merged 4 commits into
developfrom
fix.spotligh-crash
Sep 23, 2022
Merged

[FIX] Search in Rooms List crashes Android app#4546
reinaldonetof merged 4 commits into
developfrom
fix.spotligh-crash

Conversation

@reinaldonetof

Copy link
Copy Markdown
Contributor

Proposed changes

When searching in RoomsListView each request is forcing a dequal between the new state of search and the previous one. When the search text is void or small, some rooms came from a query from watermelonDb, and this implicates a lot of params beyond the _raw params that are needed to compare.

Issue(s)

How to test or reproduce

Screenshots

Before

Screen.Recording.2022-09-21.at.00.09.16.mov

After

Screen.Recording.2022-09-21.at.00.07.38.mov

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Documentation update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Further comments

@reinaldonetof reinaldonetof merged commit e10de8b into develop Sep 23, 2022
@reinaldonetof reinaldonetof deleted the fix.spotligh-crash branch September 23, 2022 01:39
diegolmello pushed a commit that referenced this pull request Sep 28, 2022
* [FIX] Search in Rooms List crashes Android app

* back to previous search

* change the method/searchlocal
ivnxyz pushed a commit to NextiaDev/Rocket.Chat.ReactNative that referenced this pull request May 26, 2023
* [FIX] Search in Rooms List crashes Android app

* back to previous search

* change the method/searchlocal
ivnxyz pushed a commit to NextiaDev/Rocket.Chat.ReactNative that referenced this pull request May 26, 2023
* [FIX] Search in Rooms List crashes Android app

* back to previous search

* change the method/searchlocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants