Make uniform info icon and leave some space
This commit is contained in:
@@ -7,7 +7,7 @@ import InfoPopUp from './info-symptom'
|
|||||||
import Header from '../../header/symptom-view'
|
import Header from '../../header/symptom-view'
|
||||||
import { headerTitles } from '../../../i18n/en/labels'
|
import { headerTitles } from '../../../i18n/en/labels'
|
||||||
import { sharedDialogs } from '../../../i18n/en/cycle-day'
|
import { sharedDialogs } from '../../../i18n/en/cycle-day'
|
||||||
import FeatherIcon from 'react-native-vector-icons/Feather'
|
import Icon from 'react-native-vector-icons/Entypo'
|
||||||
import styles, { iconStyles } from '../../../styles'
|
import styles, { iconStyles } from '../../../styles'
|
||||||
|
|
||||||
export default class SymptomView extends Component {
|
export default class SymptomView extends Component {
|
||||||
@@ -90,10 +90,9 @@ export default class SymptomView extends Component {
|
|||||||
}}
|
}}
|
||||||
style={styles.infoButtonSymptomView}
|
style={styles.infoButtonSymptomView}
|
||||||
>
|
>
|
||||||
<FeatherIcon
|
<Icon
|
||||||
name="info"
|
name="info-with-circle"
|
||||||
{...iconStyles.infoInSymptomView}
|
style={iconStyles.info}
|
||||||
style={iconStyles.symptomInfo}
|
|
||||||
/>
|
/>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
{ this.state.showInfo &&
|
{ this.state.showInfo &&
|
||||||
|
|||||||
@@ -28,8 +28,11 @@ export default class Settings extends Component {
|
|||||||
</FramedSegment>
|
</FramedSegment>
|
||||||
<FramedSegment style={styles.framedSegmentLast} >
|
<FramedSegment style={styles.framedSegmentLast} >
|
||||||
<View style={{flexDirection: 'row', alignItems: 'center'}}>
|
<View style={{flexDirection: 'row', alignItems: 'center'}}>
|
||||||
<Icon name="info-with-circle" style={iconStyles.infoInHeading}/>
|
<Icon
|
||||||
<AppText style={styles.framedSegmentTitle}>{`${labels.preOvu.title} `}</AppText>
|
name="info-with-circle"
|
||||||
|
style={iconStyles.info}
|
||||||
|
/>
|
||||||
|
<AppText style={styles.framedSegmentTitle}>{` ${labels.preOvu.title} `}</AppText>
|
||||||
</View>
|
</View>
|
||||||
<AppText>{labels.preOvu.note}</AppText>
|
<AppText>{labels.preOvu.note}</AppText>
|
||||||
</FramedSegment>
|
</FramedSegment>
|
||||||
|
|||||||
+1
-1
@@ -474,7 +474,7 @@ export const iconStyles = {
|
|||||||
symptomBoxActive: {
|
symptomBoxActive: {
|
||||||
color: fontOnPrimaryColor
|
color: fontOnPrimaryColor
|
||||||
},
|
},
|
||||||
symptomInfo: {
|
info: {
|
||||||
color: secondaryColor,
|
color: secondaryColor,
|
||||||
fontSize: 25
|
fontSize: 25
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user