WideChat / Rocket.Chat.Android

Rocket.Chat Native Android Application
https://rocket.chat
MIT License
12 stars 6 forks source link

[FIX] Spotlight long delay #663

Open Shailesh351 opened 5 years ago

Shailesh351 commented 5 years ago

Closes #622

Actual issue

spotlightFiltered is never null so the loading circle was always shown, even when the spotligh result is null.

So when there is timeout due to bad connection it continues showing loading circle, which seems like spotlight functionality it not working, but actually it is because of connection

Changes

Changed spotlightFiltered to spotlight. So now there is no need to check connection status.

ear-dev commented 5 years ago

@Shailesh351 This looks like you fixed a bug in a PR I made.... thanks..... but I'm not sure it addresses the original issue?