Commit 456f91a
committed
refactor(feed_decorator_service): simplify ad placement check
- Replace multiple type checks with a single inverse check for AdPlaceholder
- Improve code readability and maintainability
- Ensure ad placement is based on content/decorator density as intended1 parent 0accdb6 commit 456f91a
File tree
1 file changed
+1
-7
lines changed1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
| 480 | + | |
487 | 481 | | |
488 | 482 | | |
489 | 483 | | |
| |||
0 commit comments