Visual tweaks to post prompts

zio/stable
Paul Frazee 2023-01-19 14:28:11 -06:00
parent 39e996ed8e
commit 8d7566f200
1 changed files with 6 additions and 7 deletions

View File

@ -13,16 +13,16 @@ export function PromptButtons({
<View style={[pal.view, pal.border, styles.container]}> <View style={[pal.view, pal.border, styles.container]}>
<TouchableOpacity <TouchableOpacity
testID="composePromptButton" testID="composePromptButton"
style={[styles.btn, {backgroundColor: pal.colors.backgroundLight}]} onPress={() => onPressCompose(true)}
onPress={() => onPressCompose(false)}> style={[styles.btn, {backgroundColor: pal.colors.backgroundLight}]}>
<Text type="button" style={pal.textLight}> <Text type="button" style={pal.text}>
New post New post
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
<TouchableOpacity <TouchableOpacity
style={[styles.btn, {backgroundColor: pal.colors.backgroundLight}]} onPress={() => onPressCompose(true)}
onPress={() => onPressCompose(true)}> style={[styles.btn, {backgroundColor: pal.colors.backgroundLight}]}>
<Text type="button" style={pal.textLight}> <Text type="button" style={pal.text}>
Share photo Share photo
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
@ -33,7 +33,6 @@ export function PromptButtons({
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
paddingVertical: 12, paddingVertical: 12,
paddingBottom: 10,
paddingHorizontal: 16, paddingHorizontal: 16,
flexDirection: 'row', flexDirection: 'row',
alignItems: 'center', alignItems: 'center',