Fix bug
This commit is contained in:
@@ -103,7 +103,9 @@ export function AgeAssuranceDismissibleFeedBanner() {
|
|||||||
paddingRight: 40,
|
paddingRight: 40,
|
||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
<Text style={[a.leading_snug]}>{copy.banner}</Text>
|
<View style={{maxWidth: 400}}>
|
||||||
|
<Text style={[a.leading_snug]}>{copy.banner}</Text>
|
||||||
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
|
|||||||
@@ -515,7 +515,7 @@ let PostFeed = ({
|
|||||||
* Only insert if this feed was the last selected feed at
|
* Only insert if this feed was the last selected feed at
|
||||||
* startup and the banner is eligible to be shown.
|
* startup and the banner is eligible to be shown.
|
||||||
*/
|
*/
|
||||||
if (isCurrentFeedAtStartupSelected) {
|
if (sliceIndex === 0 && isCurrentFeedAtStartupSelected) {
|
||||||
arr.push({
|
arr.push({
|
||||||
type: 'ageAssuranceBanner',
|
type: 'ageAssuranceBanner',
|
||||||
key: 'ageAssuranceBanner-' + sliceIndex,
|
key: 'ageAssuranceBanner-' + sliceIndex,
|
||||||
|
|||||||
Reference in New Issue
Block a user