Skip to content

Commit

Permalink
fix: fullWidth like other screens
Browse files Browse the repository at this point in the history
Signed-off-by: clegirar <[email protected]>
  • Loading branch information
clegirar committed Jan 14, 2025
1 parent 018e33e commit 5a40e9a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 24 deletions.
6 changes: 1 addition & 5 deletions packages/screens/Multisig/MultisigCreateScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,11 @@ export const MultisigCreateScreen = () => {
? navigation.goBack()
: navigation.navigate("Multisig")
}
footerChildren={<></>}
noMargin
fullWidth
noScroll
isLarge
forceNetworkKind={NetworkKind.Cosmos}
>
<ScrollView
contentContainerStyle={{
padding: layout.contentSpacing,
paddingTop: layout.topContentSpacingWithHeading,
}}
>
Expand Down
15 changes: 4 additions & 11 deletions packages/screens/Multisig/MultisigScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,13 @@ export const MultisigScreen: ScreenFC<"Multisig"> = () => {
return (
<ScreenContainer
headerChildren={<ScreenTitle>Multisig Wallets</ScreenTitle>}
footerChildren={<></>}
noMargin
fullWidth
isLarge
onBackPress={() => navigation.navigate("Multisig")}
noScroll
forceNetworkKind={NetworkKind.Cosmos}
>
<ScrollView>
<View style={containerCStyle}>
<View style={horizontalContentPaddingCStyle}>
<View>
<View
style={{
flexDirection: "row",
Expand Down Expand Up @@ -119,7 +116,7 @@ export const MultisigScreen: ScreenFC<"Multisig"> = () => {
<SpacerColumn size={3} />
{!!invitations?.length && (
<>
<View style={horizontalContentPaddingCStyle}>
<View>
<BrandText style={fontRegular28}>Invitations</BrandText>
<SpacerColumn size={1.5} />
<BrandText style={[fontRegular16, { color: neutral77 }]}>
Expand Down Expand Up @@ -166,7 +163,7 @@ export const MultisigScreen: ScreenFC<"Multisig"> = () => {
</>
)}
{!!authToken && (
<View style={horizontalContentPaddingCStyle}>
<View>
<Separator color={neutral33} />
<SpacerColumn size={3} />
<MultisigTransactions
Expand All @@ -186,10 +183,6 @@ const containerCStyle: ViewStyle = {
paddingTop: layout.topContentSpacingWithHeading,
};

const horizontalContentPaddingCStyle: ViewStyle = {
paddingHorizontal: layout.contentSpacing,
};

const contentCenterCStyle: ViewStyle = {
flex: 1,
justifyContent: "center",
Expand Down
10 changes: 2 additions & 8 deletions packages/screens/Multisig/MultisigWalletDashboardScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ export const MultisigWalletDashboardScreen: ScreenFC<
return (
<ScreenContainer
headerChildren={<ScreenTitle>Dashboard {walletName}</ScreenTitle>}
isLarge
onBackPress={() => navigation.navigate("Multisig")}
footerChildren={<></>}
noMargin
fullWidth
forceNetworkId={network?.id}
>
<View
Expand All @@ -60,11 +58,7 @@ export const MultisigWalletDashboardScreen: ScreenFC<
key={multisigUserId}
>
<View
style={{
flex: 1,
padding: layout.contentSpacing,
paddingTop: layout.topContentSpacingWithHeading,
}}
style={{ flex: 1, paddingTop: layout.topContentSpacingWithHeading }}
>
<BrandText style={fontRegular28}>General information</BrandText>
<SpacerColumn size={2.5} />
Expand Down

0 comments on commit 5a40e9a

Please sign in to comment.