From f6769b283fe83d7abbc0545077b3dca978184eed Mon Sep 17 00:00:00 2001 From: John Fawcett Date: Wed, 12 Apr 2023 20:27:55 -0500 Subject: Mobile Web (#427) * WIP * WIP * Fix header offset on web * Remove debug * Fix web mobile feed and FAB layout * Fix modals on mobile web * Remove dead code * Remove ios config that shouldnt be committed now * Move bottom bar into its own folder * Fix web drawer navigation and state behaviors * Remove dark mode toggle from web drawer for now * Fix search on mobile web * Fix the logged out splash screen on mobile web * Fixes to detox simulator --------- Co-authored-by: Paul Frazee --- src/view/shell/Composer.web.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/view/shell/Composer.web.tsx') diff --git a/src/view/shell/Composer.web.tsx b/src/view/shell/Composer.web.tsx index e3994bb23..ed0450c01 100644 --- a/src/view/shell/Composer.web.tsx +++ b/src/view/shell/Composer.web.tsx @@ -4,6 +4,7 @@ import {StyleSheet, View} from 'react-native' import {ComposePost} from '../com/composer/Composer' import {ComposerOpts} from 'state/models/ui/shell' import {usePalette} from 'lib/hooks/usePalette' +import {isMobileWeb} from 'platform/detection' export const Composer = observer( ({ @@ -60,7 +61,7 @@ const styles = StyleSheet.create({ width: '100%', paddingVertical: 0, paddingHorizontal: 2, - borderRadius: 8, + borderRadius: isMobileWeb ? 0 : 8, marginBottom: '10vh', }, }) -- cgit 1.4.1