mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-02-22 21:23:09 +01:00
improve ignore user list strings
This commit is contained in:
parent
02a8577356
commit
7c91dacc37
1 changed files with 6 additions and 3 deletions
|
@ -139,7 +139,7 @@ export function IgnoredUserList() {
|
||||||
return (
|
return (
|
||||||
<Box direction="Column" gap="100">
|
<Box direction="Column" gap="100">
|
||||||
<Box alignItems="Center" justifyContent="SpaceBetween" gap="200">
|
<Box alignItems="Center" justifyContent="SpaceBetween" gap="200">
|
||||||
<Text size="L400">Blocked Users</Text>
|
<Text size="L400">Block Messages</Text>
|
||||||
</Box>
|
</Box>
|
||||||
<SequenceCard
|
<SequenceCard
|
||||||
className={SequenceCardStyle}
|
className={SequenceCardStyle}
|
||||||
|
@ -147,12 +147,15 @@ export function IgnoredUserList() {
|
||||||
direction="Column"
|
direction="Column"
|
||||||
gap="400"
|
gap="400"
|
||||||
>
|
>
|
||||||
<SettingTile title="Block User" description="Prevent receiving message by blocking userId.">
|
<SettingTile
|
||||||
|
title="Select User"
|
||||||
|
description="Prevent receiving message by adding userId into blocklist."
|
||||||
|
>
|
||||||
<Box direction="Column" gap="300">
|
<Box direction="Column" gap="300">
|
||||||
<IgnoreUserInput userList={ignoredUsers} />
|
<IgnoreUserInput userList={ignoredUsers} />
|
||||||
{ignoredUsers.length > 0 && (
|
{ignoredUsers.length > 0 && (
|
||||||
<Box direction="Inherit" gap="100">
|
<Box direction="Inherit" gap="100">
|
||||||
<Text size="L400">Blocked</Text>
|
<Text size="L400">Blocklist</Text>
|
||||||
<Box wrap="Wrap" gap="200">
|
<Box wrap="Wrap" gap="200">
|
||||||
{ignoredUsers.map((userId) => (
|
{ignoredUsers.map((userId) => (
|
||||||
<IgnoredUserChip key={userId} userId={userId} userList={ignoredUsers} />
|
<IgnoredUserChip key={userId} userId={userId} userList={ignoredUsers} />
|
||||||
|
|
Loading…
Reference in a new issue