Skip to content

Commit

Permalink
remove additional styling to app notice
Browse files Browse the repository at this point in the history
  • Loading branch information
drewvolz committed Oct 17, 2024
1 parent 04984e6 commit 1293cfa
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions source/views/home/notice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,14 @@ if (isDevMode()) {
}

export function UnofficialAppNotice(): React.JSX.Element {
return (
<View style={[styles.wrapper, styles.background]}>
<Text style={styles.text}>{sample(messages)}</Text>
</View>
)
return <Text numberOfLines={1} style={styles.text}>{sample(messages)}</Text>
}

const styles = StyleSheet.create({
wrapper: {
justifyContent: 'center',
marginBottom: CELL_MARGIN,
marginHorizontal: CELL_MARGIN,
},
background: {
backgroundColor: c.secondarySystemFill,
borderRadius: 7,
},
text: {
color: c.secondaryLabel,
padding: 8,
paddingHorizontal: 8,
paddingTop: 8,
textAlign: 'center',
},
})

0 comments on commit 1293cfa

Please sign in to comment.