Tweak spacing in invite link dialog (#10829)
This commit is contained in:
@@ -212,11 +212,9 @@ export function InviteLinkDialog({
|
|||||||
header = linkEnabled ? l`Update invite link` : l`Generate invite link`
|
header = linkEnabled ? l`Update invite link` : l`Generate invite link`
|
||||||
content = (
|
content = (
|
||||||
<>
|
<>
|
||||||
<View>
|
<Text style={[a.text_md]}>
|
||||||
<Text style={[a.text_md]}>
|
<Trans>Choose who can join this group chat and how.</Trans>
|
||||||
<Trans>Choose who can join this group chat and how.</Trans>
|
</Text>
|
||||||
</Text>
|
|
||||||
</View>
|
|
||||||
<View style={[a.mt_lg]}>
|
<View style={[a.mt_lg]}>
|
||||||
<Toggle.Group
|
<Toggle.Group
|
||||||
label={l`Who can join this group chat and how`}
|
label={l`Who can join this group chat and how`}
|
||||||
@@ -332,8 +330,8 @@ export function InviteLinkDialog({
|
|||||||
) : null}
|
) : null}
|
||||||
</View>
|
</View>
|
||||||
{linkEnabled ? (
|
{linkEnabled ? (
|
||||||
<View style={[a.mt_lg]}>
|
isOwner ? (
|
||||||
{isOwner ? (
|
<View style={[a.mt_lg]}>
|
||||||
<EditTextButton
|
<EditTextButton
|
||||||
label={l`Edit link settings`}
|
label={l`Edit link settings`}
|
||||||
value={ownerValue}
|
value={ownerValue}
|
||||||
@@ -344,10 +342,10 @@ export function InviteLinkDialog({
|
|||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
</EditTextButton>
|
</EditTextButton>
|
||||||
) : (
|
</View>
|
||||||
<Text style={[a.text_sm]}>{memberValue}</Text>
|
) : (
|
||||||
)}
|
<Text style={[a.mt_sm, a.mb_sm, a.text_sm]}>{memberValue}</Text>
|
||||||
</View>
|
)
|
||||||
) : null}
|
) : null}
|
||||||
{linkEnabled ? (
|
{linkEnabled ? (
|
||||||
<View style={[a.flex_row, a.justify_between, a.gap_sm, a.mt_lg]}>
|
<View style={[a.flex_row, a.justify_between, a.gap_sm, a.mt_lg]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user