0.6.1 fixes #512

Merged
akinwale merged 2 commits from 0.6.1-fixes into master 2019-04-02 23:16:54 +02:00
2 changed files with 6 additions and 4 deletions
Showing only changes of commit 5f549b8a2e - Show all commits

View file

@ -101,11 +101,11 @@ class UriBar extends React.PureComponent {
} }
let style = [uriBarStyle.overlay]; let style = [uriBarStyle.overlay];
if (this.state.focused) { /*if (this.state.focused) {
style.push(uriBarStyle.inFocus); style.push(uriBarStyle.inFocus);
} }
/*{(this.state.focused && !this.state.directSearch) && ( {(this.state.focused && !this.state.directSearch) && (
<View style={uriBarStyle.suggestions}> <View style={uriBarStyle.suggestions}>
<FlatList style={uriBarStyle.suggestionList} <FlatList style={uriBarStyle.suggestionList}
data={suggestions} data={suggestions}

View file

@ -30,9 +30,11 @@ const uriBarStyle = StyleSheet.create({
}, },
overlay: { overlay: {
position: 'absolute', position: 'absolute',
backgroundColor: 'transparent', backgroundColor: '#cc0000',
top: 0, top: 0,
width: '100%' width: '100%',
zIndex: 200,
elevation: 16
}, },
inFocus: { inFocus: {
height: '100%' height: '100%'