diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index 2f28b9665f..126addd1c8 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -13,6 +13,7 @@ import { Keyboard, KeyboardAvoidingView, LayoutChangeEvent, + ScrollView, StyleProp, StyleSheet, View, @@ -559,45 +560,30 @@ export const ComposePost = ({ + ) : canPost ? ( + ) : ( - - { - dispatch({type: 'update_labels', labels: nextLabels}) - }} - hasMedia={hasMedia || Boolean(extLink)} - /> - {canPost ? ( - - ) : ( - - - Post - - - )} + + + Post + )} @@ -758,22 +744,38 @@ export const ComposePost = ({ - {replyTo ? null : ( - { - dispatch({type: 'update_postgate', postgate: nextPostgate}) - }} - threadgateAllowUISettings={draft.threadgate} - onChangeThreadgateAllowUISettings={nextThreadgate => { - dispatch({ - type: 'update_threadgate', - threadgate: nextThreadgate, - }) - }} - style={bottomBarAnimatedStyle} - /> - )} + + + {replyTo ? null : ( + { + dispatch({type: 'update_postgate', postgate: nextPostgate}) + }} + threadgateAllowUISettings={draft.threadgate} + onChangeThreadgateAllowUISettings={nextThreadgate => { + dispatch({ + type: 'update_threadgate', + threadgate: nextThreadgate, + }) + }} + style={bottomBarAnimatedStyle} + /> + )} + { + dispatch({type: 'update_labels', labels: nextLabels}) + }} + hasMedia={hasMedia || Boolean(extLink)} + /> + + void }) { const control = Dialog.useDialogControl() - const t = useTheme() const {_} = useLingui() const hasLabel = labels.length > 0 @@ -52,20 +52,33 @@ export function LabelsBtn({ return ( <> @@ -114,7 +127,8 @@ function DialogInner({ ) : ( - There are no self-labels that can be applied to this post. + No self-labels can be applied to this post because it contains + no media. )} @@ -235,7 +249,7 @@ function DialogInner({ - + - + {