Revert change to the cancel button in the composer (#917)
This commit is contained in:
parent
1024f37a54
commit
a733b5b9f4
1 changed files with 2 additions and 5 deletions
|
@ -235,9 +235,9 @@ export const ComposePost = observer(function ComposePost({
|
||||||
onPress={onPressCancel}
|
onPress={onPressCancel}
|
||||||
onAccessibilityEscape={onPressCancel}
|
onAccessibilityEscape={onPressCancel}
|
||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel="Discard"
|
accessibilityLabel="Cancel"
|
||||||
accessibilityHint="Closes post composer and discards post draft">
|
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>
|
</TouchableOpacity>
|
||||||
<View style={s.flex1} />
|
<View style={s.flex1} />
|
||||||
{isProcessing ? (
|
{isProcessing ? (
|
||||||
|
@ -390,9 +390,6 @@ const styles = StyleSheet.create({
|
||||||
paddingHorizontal: 20,
|
paddingHorizontal: 20,
|
||||||
height: 55,
|
height: 55,
|
||||||
},
|
},
|
||||||
discard: {
|
|
||||||
color: colors.red3,
|
|
||||||
},
|
|
||||||
postBtn: {
|
postBtn: {
|
||||||
borderRadius: 20,
|
borderRadius: 20,
|
||||||
paddingHorizontal: 20,
|
paddingHorizontal: 20,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue