Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

[FIX] Clear listeners for dynamic value in notifications #2602

Merged
merged 1 commit into from
Mar 22, 2019
Merged

[FIX] Clear listeners for dynamic value in notifications #2602

merged 1 commit into from
Mar 22, 2019

Conversation

artur-ios-dev
Copy link
Contributor

Clear listeners for dynamic value in notifications before setting them again

Reloading cells caused multiple listeners to be registered which had a huge impact on performance and might cause other issues

@RocketChat/ios

…m again

Reloading cells caused multiple listeners to be registered which had a huge impact on performance and might cause other issues
@codecov
Copy link

codecov bot commented Mar 22, 2019

Codecov Report

Merging #2602 into develop will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2602      +/-   ##
===========================================
- Coverage    25.99%   25.99%   -0.01%     
===========================================
  Files          463      463              
  Lines        17203    17205       +2     
===========================================
  Hits          4472     4472              
- Misses       12731    12733       +2
Impacted Files Coverage Δ
...rences/Notifications/NotificationsChooseCell.swift 0% <ø> (ø) ⬆️
Rocket.Chat/Helpers/Dynamic.swift 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43b49b6...71fa3b3. Read the comment docs.

@rafaelks rafaelks added this to the 3.4.0 milestone Mar 22, 2019
@rafaelks
Copy link
Contributor

Great finding, thanks @artrmz!

@rafaelks rafaelks merged commit 2e1cfb5 into RocketChat:develop Mar 22, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants