From 753fb8bfbc33736915e8820486ec8c6cc99d6bb2 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 19 Sep 2023 20:40:58 -0700 Subject: [PATCH] Nicer 'post processing status' in the composer (#1472) --- src/view/com/composer/Composer.tsx | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index 8ed0bb3780..6a4215b9b4 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -285,11 +285,6 @@ export const ComposePost = observer(function ComposePost({ )} - {isProcessing ? ( - - {processingState} - - ) : undefined} {store.preferences.requireAltTextEnabled && gallery.needsAltText && ( @@ -374,6 +369,12 @@ export const ComposePost = observer(function ComposePost({ ) : undefined} + {isProcessing ? ( + + + {processingState} + + ) : undefined} {!extLink && suggestedLinks.size > 0 ? ( {Array.from(suggestedLinks) @@ -435,11 +436,11 @@ const styles = StyleSheet.create({ paddingVertical: 6, }, processingLine: { - borderRadius: 6, - paddingHorizontal: 8, - paddingVertical: 6, - marginHorizontal: 15, - marginBottom: 6, + flexDirection: 'row', + alignItems: 'center', + gap: 8, + paddingHorizontal: 26, + paddingVertical: 12, }, errorLine: { flexDirection: 'row',