Remove wrapping View from ActionHint
Wasn't necessary after all Issue: 178
This commit is contained in:
@@ -24,14 +24,10 @@ export function AppTextLight(props) {
|
||||
export function ActionHint(props) {
|
||||
if(props.isVisible) {
|
||||
return (
|
||||
<View
|
||||
style={styles.actionHintWrappingView}
|
||||
isVisible={false}>
|
||||
<AppText
|
||||
style={[styles.actionHint, props.style]}>
|
||||
{props.children}
|
||||
</AppText>
|
||||
</View>
|
||||
<AppText
|
||||
style={[styles.actionHint, props.style]}>
|
||||
{props.children}
|
||||
</AppText>
|
||||
)
|
||||
} else {
|
||||
return null
|
||||
|
||||
+2
-4
@@ -35,13 +35,11 @@ export default StyleSheet.create({
|
||||
fontFamily: fontLight,
|
||||
fontSize: regularSize
|
||||
},
|
||||
actionHintWrappingView: {
|
||||
margin: defaultIndentation
|
||||
},
|
||||
actionHint: {
|
||||
color: secondaryColor,
|
||||
fontFamily: fontRegular,
|
||||
fontSize: hintSize
|
||||
fontSize: hintSize,
|
||||
margin: defaultIndentation
|
||||
},
|
||||
paragraph: {
|
||||
marginBottom: defaultBottomMargin
|
||||
|
||||
Reference in New Issue
Block a user