From 166ef7ef2ca53579bc567fcba2617114aad1bc92 Mon Sep 17 00:00:00 2001 From: Roland Osborne Date: Fri, 3 Mar 2023 10:53:26 -0800 Subject: [PATCH] tweaking thead layout --- app/mobile/src/context/useChannelContext.hook.js | 2 +- .../src/session/conversation/Conversation.styled.js | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/mobile/src/context/useChannelContext.hook.js b/app/mobile/src/context/useChannelContext.hook.js index c1056846..a17b92fe 100644 --- a/app/mobile/src/context/useChannelContext.hook.js +++ b/app/mobile/src/context/useChannelContext.hook.js @@ -167,7 +167,7 @@ export function useChannelContext() { const topicId = await addChannelTopic(server, token, channelId, null, null, null); upload.actions.addTopic(server, token, channelId, topicId, files, async (assets) => { const subject = message(assets); - await setChannelTopicSubject(server, token, channelId, topicId, type, sbuject); + await setChannelTopicSubject(server, token, channelId, topicId, type, subject); }, async () => { try { await removeChannelTopic(server, token, channelId, topicId); diff --git a/app/mobile/src/session/conversation/Conversation.styled.js b/app/mobile/src/session/conversation/Conversation.styled.js index 0284f4b4..4b191e64 100644 --- a/app/mobile/src/session/conversation/Conversation.styled.js +++ b/app/mobile/src/session/conversation/Conversation.styled.js @@ -77,5 +77,15 @@ export const styles = StyleSheet.create({ fontSize: 18, color: Colors.disabled, }, + + topics: { + paddingBottom: 32, + }, + conversation: { + flexShrink: 1, + flexGrow: 1, + minHeight: 0, + paddingTop: 8, + }, });