-
Couldn't load subscription status.
- Fork 476
Issue #7441: Remove unused ThumbnailsUseCase #7442
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7442 +/- ##
============================================
+ Coverage 77.57% 78.26% +0.69%
+ Complexity 5147 4938 -209
============================================
Files 689 661 -28
Lines 25018 23150 -1868
Branches 3700 3446 -254
============================================
- Hits 19408 18119 -1289
+ Misses 4089 3603 -486
+ Partials 1521 1428 -93 Continue to review full report at Codecov.
|
|
Thanks for the cleanup! I think there's a mistake on my part here: instead of removing the use case, in my PR that added the ThumbnailLoader, I should have used the use case instead. This would have gotten rid of that weird if-else check that we added into the Fenix TabsTrayViewHolder. I like the idea of having use cases where it makes sense, but I'm open to alternatives too! |
Do you mean you want to wrap ThumbnailLoader into the ThumbnailUseCase constructor and have the use case functions call load? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go ahead and remove this, we can always bring it back if we decide otherwise.
@gabrielluong Don't forget to submit a Fenix PR for this breaking API when you land this.
|
bors r=jonalmeida |
|
Timed out. |
|
Timed out. |
|
bors r+ |
|
Build succeeded: |
Fixes #7441
Pull Request checklist
After merge