Browse Source

[RN] Add missing key prop to Android page indicator

master
zbettenbuk 7 years ago
parent
commit
1eac4c51ca

+ 1
- 0
react/features/base/react/components/native/PagedList.android.js View File

123
         return page.component
123
         return page.component
124
             ? <TouchableOpacity
124
             ? <TouchableOpacity
125
                 disabled = { disabled }
125
                 disabled = { disabled }
126
+                key = { index }
126
                 onPress = { this._onIconPress(index) }
127
                 onPress = { this._onIconPress(index) }
127
                 style = { styles.pageIndicator } >
128
                 style = { styles.pageIndicator } >
128
                 <View style = { styles.pageIndicator }>
129
                 <View style = { styles.pageIndicator }>

Loading…
Cancel
Save