Minor ui tweaks
This commit is contained in:
@@ -329,11 +329,16 @@ export const DebugModScreen = ({}: NativeStackScreenProps<
|
|||||||
</View>
|
</View>
|
||||||
</Toggle.Group>
|
</Toggle.Group>
|
||||||
|
|
||||||
{label[0] === 'x-custom' && (
|
{label[0] === 'x-custom' ? (
|
||||||
<CustomLabelForm
|
<CustomLabelForm
|
||||||
def={customLabelDef}
|
def={customLabelDef}
|
||||||
setDef={setCustomLabelDef}
|
setDef={setCustomLabelDef}
|
||||||
/>
|
/>
|
||||||
|
) : (
|
||||||
|
<>
|
||||||
|
<View style={{height: 10}} />
|
||||||
|
<Divider />
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Toggle.Group
|
<Toggle.Group
|
||||||
@@ -516,9 +521,7 @@ export const DebugModScreen = ({}: NativeStackScreenProps<
|
|||||||
<>
|
<>
|
||||||
<Heading title="Notification" subtitle="quote or reply" />
|
<Heading title="Notification" subtitle="quote or reply" />
|
||||||
<MockNotifItem notif={replyNotif} moderationOpts={modOpts} />
|
<MockNotifItem notif={replyNotif} moderationOpts={modOpts} />
|
||||||
|
<View style={{height: 20}} />
|
||||||
<Spacer />
|
|
||||||
|
|
||||||
<Heading title="Notification" subtitle="follow or like" />
|
<Heading title="Notification" subtitle="follow or like" />
|
||||||
<MockNotifItem notif={followNotif} moderationOpts={modOpts} />
|
<MockNotifItem notif={followNotif} moderationOpts={modOpts} />
|
||||||
</>
|
</>
|
||||||
@@ -532,8 +535,6 @@ export const DebugModScreen = ({}: NativeStackScreenProps<
|
|||||||
moderation={profileModeration}
|
moderation={profileModeration}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Spacer />
|
|
||||||
|
|
||||||
<Heading title="Account" subtitle="viewing directly" />
|
<Heading title="Account" subtitle="viewing directly" />
|
||||||
<MockAccountScreen
|
<MockAccountScreen
|
||||||
profile={profile}
|
profile={profile}
|
||||||
@@ -771,7 +772,7 @@ function MockPostFeedItem({
|
|||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
if (moderation.ui('contentList').filter) {
|
if (moderation.ui('contentList').filter) {
|
||||||
return (
|
return (
|
||||||
<P style={[t.atoms.bg_contrast_50, a.px_lg, a.py_md]}>
|
<P style={[t.atoms.bg_contrast_50, a.px_lg, a.py_md, a.mb_lg]}>
|
||||||
Filtered from the feed
|
Filtered from the feed
|
||||||
</P>
|
</P>
|
||||||
)
|
)
|
||||||
@@ -839,7 +840,7 @@ function MockAccountCard({
|
|||||||
|
|
||||||
if (moderation.ui('profileList').filter) {
|
if (moderation.ui('profileList').filter) {
|
||||||
return (
|
return (
|
||||||
<P style={[t.atoms.bg_contrast_50, a.px_lg, a.py_md]}>
|
<P style={[t.atoms.bg_contrast_50, a.px_lg, a.py_md, a.mb_lg]}>
|
||||||
Filtered from the listing
|
Filtered from the listing
|
||||||
</P>
|
</P>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user