|
@@ -1,7 +1,7 @@
|
1
|
1
|
// @flow
|
2
|
2
|
|
3
|
3
|
import React, { Component } from 'react';
|
4
|
|
-import { Text, TouchableOpacity, View } from 'react-native';
|
|
4
|
+import { SafeAreaView, Text, TouchableOpacity, View } from 'react-native';
|
5
|
5
|
import { connect } from 'react-redux';
|
6
|
6
|
|
7
|
7
|
import { Icon } from '../../../font-icons';
|
|
@@ -215,13 +215,13 @@ class PagedList extends Component<Props, State> {
|
215
|
215
|
{
|
216
|
216
|
this._renderPage(pages[pageIndex], disabled)
|
217
|
217
|
}
|
218
|
|
- <View style = { styles.pageIndicatorContainer }>
|
|
218
|
+ <SafeAreaView style = { styles.pageIndicatorContainer }>
|
219
|
219
|
{
|
220
|
220
|
pages.map((page, index) => this._renderPageIndicator(
|
221
|
221
|
page, index, disabled
|
222
|
222
|
))
|
223
|
223
|
}
|
224
|
|
- </View>
|
|
224
|
+ </SafeAreaView>
|
225
|
225
|
</View>
|
226
|
226
|
);
|
227
|
227
|
}
|
|
@@ -247,7 +247,7 @@ class PagedList extends Component<Props, State> {
|
247
|
247
|
key = { index }
|
248
|
248
|
onPress = { this._onSelectPage(index) }
|
249
|
249
|
style = { styles.pageIndicator } >
|
250
|
|
- <View style = { styles.pageIndicator }>
|
|
250
|
+ <View style = { styles.pageIndicatorContent }>
|
251
|
251
|
<Icon
|
252
|
252
|
name = { page.icon }
|
253
|
253
|
style = { [
|