File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11// @flow
22
33import * as React from 'react'
4- import glamorous , { View , Text } from 'glamorous-native'
4+ import glamorous , { View } from 'glamorous-native'
55import { BaseText , Paragraph } from './formatting'
66
77// the list itself
Original file line number Diff line number Diff line change 11// @flow
22import * as React from 'react'
3- import { RefreshControl } from 'react-native'
3+ import { RefreshControl , StyleSheet } from 'react-native'
44import * as c from '../components/colors'
55import { View , ScrollView } from 'glamorous-native'
66import { Markdown } from '../components/markdown'
@@ -12,6 +12,12 @@ import {GH_PAGES_URL} from '../../globals'
1212
1313const faqsUrl = GH_PAGES_URL ( 'faqs.json' )
1414
15+ const styles = StyleSheet . create ( {
16+ container : {
17+ paddingHorizontal : 15 ,
18+ } ,
19+ } )
20+
1521type Props = { }
1622
1723type State = {
@@ -79,7 +85,7 @@ export class FaqView extends React.PureComponent<Props, State> {
7985 return (
8086 < ScrollView
8187 backgroundColor = { c . white }
82- contentContainerStyle = { { paddingHorizontal : 15 } }
88+ contentContainerStyle = { styles . container }
8389 contentInsetAdjustmentBehavior = "automatic"
8490 refreshControl = { refreshControl }
8591 >
You can’t perform that action at this time.
0 commit comments