summaryrefslogtreecommitdiffhomepage
path: root/app/components/Settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/Settings.js')
-rw-r--r--app/components/Settings.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js
index 642887cd9b..9161f36460 100644
--- a/app/components/Settings.js
+++ b/app/components/Settings.js
@@ -31,7 +31,7 @@ export default class Settings extends Component<SettingsProps> {
<Container>
<View style={styles.settings}>
<Button style={styles.settings__close} onPress={ this.props.onClose } testName='settings__close'>
- <Img style={styles.settings__close_icon} source='icon-close'/>
+ <Img height={24} width={24} style={styles.settings__close_icon} source='icon-close'/>
</Button>
<View style={styles.settings__container}>
@@ -80,14 +80,14 @@ export default class Settings extends Component<SettingsProps> {
testName='settings__account_paid_until_button'>
<Label>Account</Label>
<SubText testName='settings__account_paid_until_subtext' style={styles.settings__account_paid_until_Label__error}>OUT OF TIME</SubText>
- <Img height='12' width='7' source='icon-chevron' />
+ <Img height={12} width={7} source='icon-chevron' />
</CellButton>
) : (
<CellButton onPress={ this.props.onViewAccount }
testName='settings__account_paid_until_button'>
<Label>Account</Label>
<SubText testName='settings__account_paid_until_subtext'>{ formattedExpiry }</SubText>
- <Img height='12' width='7' source='icon-chevron' />
+ <Img height={12} width={7} source='icon-chevron' />
</CellButton>
)}
</View>
@@ -95,13 +95,13 @@ export default class Settings extends Component<SettingsProps> {
<CellButton onPress={ this.props.onViewPreferences }
testName='settings__preferences'>
<Label>Preferences</Label>
- <Img height='12' width='7' source='icon-chevron' />
+ <Img height={12} width={7} source='icon-chevron' />
</CellButton>
<CellButton onPress={ this.props.onViewAdvancedSettings }
testName='settings__advanced'>
<Label>Advanced</Label>
- <Img height='12' width='7' source='icon-chevron' />
+ <Img height={12} width={7} source='icon-chevron' />
</CellButton>
<View style={styles.settings__cell_spacer}/>
</View>;
@@ -113,7 +113,7 @@ export default class Settings extends Component<SettingsProps> {
testName='settings__version'>
<Label>App version</Label>
<SubText>{this._formattedVersion()}</SubText>
- <Img height='16' width='16' source='icon-extLink' />
+ <Img height={16} width={16} source='icon-extLink' />
</CellButton>
<View style={styles.settings__cell_spacer}/>
</View>;
@@ -133,19 +133,19 @@ export default class Settings extends Component<SettingsProps> {
<CellButton onPress={ this.props.onExternalLink.bind(this, 'faq') }
testName='settings__external_link'>
<Label>FAQs</Label>
- <Img height='16' width='16' source='icon-extLink' />
+ <Img height={16} width={16} source='icon-extLink' />
</CellButton>
<CellButton onPress={ this.props.onExternalLink.bind(this, 'guides') }
testName='settings__external_link'>
<Label>Guides</Label>
- <Img height='16' width='16' source='icon-extLink' />
+ <Img height={16} width={16} source='icon-extLink' />
</CellButton>
<CellButton onPress={ this.props.onViewSupport }
testName='settings__view_support'>
<Label>Contact support</Label>
- <Img height='12' width='7' source='icon-chevron' />
+ <Img height={12} width={7} source='icon-chevron' />
</CellButton>
</View>;
}