From d9e68d160411a8baf7c69161a38943aabac7283d Mon Sep 17 00:00:00 2001 From: Rahul Yadav <52163880+rahulyadav5524@users.noreply.github.com> Date: Sat, 30 Dec 2023 14:46:27 +0530 Subject: [PATCH] Show setting header in web --- src/view/screens/Settings.tsx | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/view/screens/Settings.tsx b/src/view/screens/Settings.tsx index d48112da..16efdf36 100644 --- a/src/view/screens/Settings.tsx +++ b/src/view/screens/Settings.tsx @@ -147,7 +147,7 @@ export function SettingsScreen({}: Props) { const setRequireAltTextEnabled = useSetRequireAltTextEnabled() const onboardingDispatch = useOnboardingDispatch() const navigation = useNavigation() - const {isMobile} = useWebMediaQueries() + const {isMobile, isTabletOrDesktop} = useWebMediaQueries() const {screen, track} = useAnalytics() const {openModal} = useModalControls() const {isSwitchingAccounts, accounts, currentAccount} = useSession() @@ -273,11 +273,17 @@ export function SettingsScreen({}: Props) { }, []) return ( - - + + {currentAccount ? ( @@ -752,7 +758,7 @@ export function SettingsScreen({}: Props) { - + ) } @@ -897,4 +903,14 @@ const styles = StyleSheet.create({ alignItems: 'center', paddingLeft: 18, }, + desktopContainer: { + borderLeftWidth: 1, + borderRightWidth: 1, + }, + noBorder: { + borderBottomWidth: 0, + borderTopWidth: 0, + borderRightWidth: 0, + borderLeftWidth: 0, + }, })