diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-06-27 13:56:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 11:56:26 -0700 |
commit | a733b5b9f465c38ed223d6f2c2cca8fa7aff91da (patch) | |
tree | ab89bfdec5e1d1ef591b72fe01271c8e61aa7c4c | |
parent | 1024f37a543e49e6e292772ffdc20c6a01094b5b (diff) | |
download | voidsky-a733b5b9f465c38ed223d6f2c2cca8fa7aff91da.tar.zst |
Revert change to the cancel button in the composer (#917)
-rw-r--r-- | src/view/com/composer/Composer.tsx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index fc324d3e5..700c863a9 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -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, |