Revert change to the cancel button in the composer (#917)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user