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