Revert change to the cancel button in the composer (#917)

zio/stable
Paul Frazee 2023-06-27 13:56:26 -05:00 committed by GitHub
parent 1024f37a54
commit a733b5b9f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -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,