forked from vergnet/application-amicale
Fixed proximo search field on IOS
This commit is contained in:
parent
c7dfbe50e6
commit
ef37ed629f
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
// @flow
|
||||
|
||||
import * as React from 'react';
|
||||
import {FlatList, Image, ScrollView, View} from "react-native";
|
||||
import {Platform, Image, ScrollView, View} from "react-native";
|
||||
import i18n from "i18n-js";
|
||||
import CustomModal from "../../components/CustomModal";
|
||||
import {Avatar, IconButton, List, RadioButton, Searchbar, Subheading, Text, Title, withTheme} from "react-native-paper";
|
||||
|
@ -85,7 +85,10 @@ class ProximoListScreen extends React.Component<Props, State> {
|
|||
this.props.navigation.setOptions({
|
||||
headerRight: button,
|
||||
headerTitle: title,
|
||||
headerTitleContainerStyle: {marginHorizontal: 0, right: 50, left: 50},
|
||||
headerBackTitleVisible: false,
|
||||
headerTitleContainerStyle: Platform.OS === 'ios' ?
|
||||
{marginHorizontal: 0, width: '70%'} :
|
||||
{marginHorizontal: 0, right: 50, left: 50},
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue