@shoutem/ui 8.1.1-rc.0 → 8.1.2-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ListView.js +2 -3
- package/package.json +1 -1
package/components/ListView.js
CHANGED
|
@@ -45,7 +45,7 @@ class ListView extends PureComponent {
|
|
|
45
45
|
|
|
46
46
|
// If loading is done, set status back to idle.
|
|
47
47
|
if (!isLoading && state.status === Status.LOADING) {
|
|
48
|
-
return { status: Status.IDLE}
|
|
48
|
+
return { status: Status.IDLE };
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
// Return all other statuses as they are.
|
|
@@ -111,7 +111,6 @@ class ListView extends PureComponent {
|
|
|
111
111
|
renderSectionHeader,
|
|
112
112
|
onRefresh,
|
|
113
113
|
onLoadMoreThreshold,
|
|
114
|
-
keyExtractor,
|
|
115
114
|
contentContainerStyle,
|
|
116
115
|
ListEmptyComponent,
|
|
117
116
|
} = this.props;
|
|
@@ -127,8 +126,8 @@ class ListView extends PureComponent {
|
|
|
127
126
|
// style
|
|
128
127
|
mappedProps.style = style.list;
|
|
129
128
|
mappedProps.contentContainerStyle = {
|
|
130
|
-
...contentContainerStyle,
|
|
131
129
|
...style.listContent,
|
|
130
|
+
...contentContainerStyle,
|
|
132
131
|
};
|
|
133
132
|
|
|
134
133
|
if (Platform.OS === 'ios' && parseInt(Platform.Version, 10) === 13) {
|