Ad: change to 'insert' mode in Mobile layout.
## Ticket 1074 In mobile, the second livestream tile in Following gets missing because of the Ad being in 'replace' mode. ## Change Switch from 'replace' to 'insert' mode in Mobile layout. If missing (replaced) tiles is not a desired behavior, the true fix would be to always use 'insert' mode, and either live with the uneven tiles or wait for our design master's solution.
This commit is contained in:
parent
805b607e73
commit
07463312f0
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ function HomePage(props: Props) {
|
||||||
injectedItem={
|
injectedItem={
|
||||||
index === 0 && {
|
index === 0 && {
|
||||||
node: <Ads small type="video" tileLayout />,
|
node: <Ads small type="video" tileLayout />,
|
||||||
replace: adBlockerFound === false,
|
replace: adBlockerFound === false && isLargeScreen,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
forceShowReposts={id !== 'FOLLOWING'}
|
forceShowReposts={id !== 'FOLLOWING'}
|
||||||
|
|
Loading…
Reference in a new issue