Revert change to the cancel button in the composer (#917)
parent
1024f37a54
commit
a733b5b9f4
|
@ -235,9 +235,9 @@ export const ComposePost = observer(function ComposePost({
|
|||
onPress={onPressCancel}
|
||||
onAccessibilityEscape={onPressCancel}
|
||||
accessibilityRole="button"
|
||||
accessibilityLabel="Discard"
|
||||
accessibilityLabel="Cancel"
|
||||
accessibilityHint="Closes post composer and discards post draft">
|
||||
<Text style={[pal.link, s.f18, styles.discard]}>Discard</Text>
|
||||
<Text style={[pal.link, s.f18]}>Cancel</Text>
|
||||
</TouchableOpacity>
|
||||
<View style={s.flex1} />
|
||||
{isProcessing ? (
|
||||
|
@ -390,9 +390,6 @@ const styles = StyleSheet.create({
|
|||
paddingHorizontal: 20,
|
||||
height: 55,
|
||||
},
|
||||
discard: {
|
||||
color: colors.red3,
|
||||
},
|
||||
postBtn: {
|
||||
borderRadius: 20,
|
||||
paddingHorizontal: 20,
|
||||
|
|
Loading…
Reference in New Issue