make sure its usable on large font sizes

This commit is contained in:
Hailey
2024-10-16 15:43:28 -07:00
committed by Samuel Newman
parent abf1a8d0a7
commit 6080a17193
+28 -28
View File
@@ -13,6 +13,7 @@ import {
Keyboard, Keyboard,
KeyboardAvoidingView, KeyboardAvoidingView,
LayoutChangeEvent, LayoutChangeEvent,
ScrollView,
StyleProp, StyleProp,
StyleSheet, StyleSheet,
View, View,
@@ -744,36 +745,35 @@ export const ComposePost = ({
<SuggestedLanguage text={richtext.text} /> <SuggestedLanguage text={richtext.text} />
<Animated.View <Animated.View
style={[ style={[a.flex_row, a.p_sm, t.atoms.bg, bottomBarAnimatedStyle]}>
a.flex_row, <ScrollView
a.p_sm, horizontal
a.gap_sm, contentContainerStyle={[a.gap_sm]}
t.atoms.bg, bounces={false}>
bottomBarAnimatedStyle, {replyTo ? null : (
]}> <ThreadgateBtn
{replyTo ? null : ( postgate={draft.postgate}
<ThreadgateBtn onChangePostgate={nextPostgate => {
postgate={draft.postgate} dispatch({type: 'update_postgate', postgate: nextPostgate})
onChangePostgate={nextPostgate => { }}
dispatch({type: 'update_postgate', postgate: nextPostgate}) threadgateAllowUISettings={draft.threadgate}
onChangeThreadgateAllowUISettings={nextThreadgate => {
dispatch({
type: 'update_threadgate',
threadgate: nextThreadgate,
})
}}
style={bottomBarAnimatedStyle}
/>
)}
<LabelsBtn
labels={draft.labels}
onChange={nextLabels => {
dispatch({type: 'update_labels', labels: nextLabels})
}} }}
threadgateAllowUISettings={draft.threadgate} hasMedia={hasMedia || Boolean(extLink)}
onChangeThreadgateAllowUISettings={nextThreadgate => {
dispatch({
type: 'update_threadgate',
threadgate: nextThreadgate,
})
}}
style={bottomBarAnimatedStyle}
/> />
)} </ScrollView>
<LabelsBtn
labels={draft.labels}
onChange={nextLabels => {
dispatch({type: 'update_labels', labels: nextLabels})
}}
hasMedia={hasMedia || Boolean(extLink)}
/>
</Animated.View> </Animated.View>
<View <View
style={[ style={[