Skip to content
Commits on Source (5)
......@@ -18,7 +18,9 @@ exports[`cature poster flags component should renders correctly for props false
<View
collapsable={false}
>
<View>
<View
onLayout={[Function]}
>
<View
accessibilityLabel="NSFW button"
accessible={true}
......@@ -81,7 +83,7 @@ exports[`cature poster flags component should renders correctly for props false
visible={false}
>
<View
accessible={false}
accessible={true}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
......@@ -104,7 +106,7 @@ exports[`cature poster flags component should renders correctly for props false
Object {
"backgroundColor": "white",
"borderRadius": 4,
"left": 8,
"left": 0,
"marginTop": 20,
"opacity": 0,
"position": "absolute",
......@@ -115,7 +117,7 @@ exports[`cature poster flags component should renders correctly for props false
},
"shadowOpacity": 0.14,
"shadowRadius": 2,
"top": 8,
"top": 0,
"transform": Array [],
"width": 180,
}
......@@ -138,9 +140,6 @@ exports[`cature poster flags component should renders correctly for props false
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -154,7 +153,7 @@ exports[`cature poster flags component should renders correctly for props false
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -162,7 +161,6 @@ exports[`cature poster flags component should renders correctly for props false
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -178,7 +176,6 @@ exports[`cature poster flags component should renders correctly for props false
Nudity
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Pornography"
accessible={true}
......@@ -189,9 +186,6 @@ exports[`cature poster flags component should renders correctly for props false
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -205,7 +199,7 @@ exports[`cature poster flags component should renders correctly for props false
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -213,7 +207,6 @@ exports[`cature poster flags component should renders correctly for props false
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -229,7 +222,6 @@ exports[`cature poster flags component should renders correctly for props false
Pornography
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Profanity"
accessible={true}
......@@ -240,9 +232,6 @@ exports[`cature poster flags component should renders correctly for props false
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -256,7 +245,7 @@ exports[`cature poster flags component should renders correctly for props false
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -264,7 +253,6 @@ exports[`cature poster flags component should renders correctly for props false
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -280,7 +268,6 @@ exports[`cature poster flags component should renders correctly for props false
Profanity
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Violence and Gore"
accessible={true}
......@@ -291,9 +278,6 @@ exports[`cature poster flags component should renders correctly for props false
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -307,7 +291,7 @@ exports[`cature poster flags component should renders correctly for props false
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -315,7 +299,6 @@ exports[`cature poster flags component should renders correctly for props false
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -331,7 +314,6 @@ exports[`cature poster flags component should renders correctly for props false
Violence and Gore
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Race and Religion"
accessible={true}
......@@ -342,9 +324,6 @@ exports[`cature poster flags component should renders correctly for props false
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -358,7 +337,7 @@ exports[`cature poster flags component should renders correctly for props false
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -366,7 +345,6 @@ exports[`cature poster flags component should renders correctly for props false
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -382,7 +360,6 @@ exports[`cature poster flags component should renders correctly for props false
Race and Religion
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Other"
accessible={true}
......@@ -393,9 +370,6 @@ exports[`cature poster flags component should renders correctly for props false
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -409,7 +383,7 @@ exports[`cature poster flags component should renders correctly for props false
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -417,7 +391,6 @@ exports[`cature poster flags component should renders correctly for props false
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -436,7 +409,6 @@ exports[`cature poster flags component should renders correctly for props false
</View>
</View>
</View>
</View>
</Modal>
</View>
<View
......@@ -1347,7 +1319,9 @@ exports[`cature poster flags component should renders correctly for props true 1
<View
collapsable={false}
>
<View>
<View
onLayout={[Function]}
>
<View
accessibilityLabel="NSFW button"
accessible={true}
......@@ -1410,7 +1384,7 @@ exports[`cature poster flags component should renders correctly for props true 1
visible={false}
>
<View
accessible={false}
accessible={true}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
......@@ -1433,7 +1407,7 @@ exports[`cature poster flags component should renders correctly for props true 1
Object {
"backgroundColor": "white",
"borderRadius": 4,
"left": 8,
"left": 0,
"marginTop": 20,
"opacity": 0,
"position": "absolute",
......@@ -1444,7 +1418,7 @@ exports[`cature poster flags component should renders correctly for props true 1
},
"shadowOpacity": 0.14,
"shadowRadius": 2,
"top": 8,
"top": 0,
"transform": Array [],
"width": 180,
}
......@@ -1467,9 +1441,6 @@ exports[`cature poster flags component should renders correctly for props true 1
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -1483,7 +1454,7 @@ exports[`cature poster flags component should renders correctly for props true 1
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -1491,7 +1462,6 @@ exports[`cature poster flags component should renders correctly for props true 1
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -1507,7 +1477,6 @@ exports[`cature poster flags component should renders correctly for props true 1
Nudity
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Pornography"
accessible={true}
......@@ -1518,9 +1487,6 @@ exports[`cature poster flags component should renders correctly for props true 1
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -1534,7 +1500,7 @@ exports[`cature poster flags component should renders correctly for props true 1
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -1542,7 +1508,6 @@ exports[`cature poster flags component should renders correctly for props true 1
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -1558,7 +1523,6 @@ exports[`cature poster flags component should renders correctly for props true 1
Pornography
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Profanity"
accessible={true}
......@@ -1569,9 +1533,6 @@ exports[`cature poster flags component should renders correctly for props true 1
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -1585,7 +1546,7 @@ exports[`cature poster flags component should renders correctly for props true 1
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -1593,7 +1554,6 @@ exports[`cature poster flags component should renders correctly for props true 1
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -1609,7 +1569,6 @@ exports[`cature poster flags component should renders correctly for props true 1
Profanity
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Violence and Gore"
accessible={true}
......@@ -1620,9 +1579,6 @@ exports[`cature poster flags component should renders correctly for props true 1
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -1636,7 +1592,7 @@ exports[`cature poster flags component should renders correctly for props true 1
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -1644,7 +1600,6 @@ exports[`cature poster flags component should renders correctly for props true 1
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -1660,7 +1615,6 @@ exports[`cature poster flags component should renders correctly for props true 1
Violence and Gore
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Race and Religion"
accessible={true}
......@@ -1671,9 +1625,6 @@ exports[`cature poster flags component should renders correctly for props true 1
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -1687,7 +1638,7 @@ exports[`cature poster flags component should renders correctly for props true 1
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -1695,7 +1646,6 @@ exports[`cature poster flags component should renders correctly for props true 1
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -1711,7 +1661,6 @@ exports[`cature poster flags component should renders correctly for props true 1
Race and Religion
</Text>
</View>
</View>
<View
accessibilityLabel="NSFW Other"
accessible={true}
......@@ -1722,9 +1671,6 @@ exports[`cature poster flags component should renders correctly for props true 1
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={null}
>
<View
style={
Array [
Object {
......@@ -1738,7 +1684,7 @@ exports[`cature poster flags component should renders correctly for props true 1
}
>
<Text
ellipsizeMode="clip"
ellipsizeMode="tail"
numberOfLines={1}
style={
Array [
......@@ -1746,7 +1692,6 @@ exports[`cature poster flags component should renders correctly for props true 1
"fontSize": 14,
"fontWeight": "400",
"paddingHorizontal": 16,
"textAlign": "left",
},
false,
Array [
......@@ -1765,7 +1710,6 @@ exports[`cature poster flags component should renders correctly for props true 1
</View>
</View>
</View>
</View>
</Modal>
</View>
<View
......
......@@ -249,6 +249,11 @@ export default class FeedsService {
this.pagingToken = response['load-next'];
} else {
this.endReached = true;
// if there is no result and isn't a pagination request we clear the feed data
if (!more) {
this.feed = [];
}
}
// save without wait
......