Profile: follower and following counts
All checks were successful
/ depoly (push) Successful in 1m20s
All checks were successful
/ depoly (push) Successful in 1m20s
This commit is contained in:
parent
4aac0381ae
commit
1526e4b2fe
1 changed files with 19 additions and 8 deletions
|
@ -23,6 +23,7 @@ import {
|
||||||
IconButton,
|
IconButton,
|
||||||
ListItemAvatar,
|
ListItemAvatar,
|
||||||
ListItemIcon,
|
ListItemIcon,
|
||||||
|
ListItemSecondaryAction,
|
||||||
ListItemText,
|
ListItemText,
|
||||||
MenuItem,
|
MenuItem,
|
||||||
Toolbar,
|
Toolbar,
|
||||||
|
@ -38,8 +39,8 @@ import {
|
||||||
PlaylistAdd,
|
PlaylistAdd,
|
||||||
Send,
|
Send,
|
||||||
Share,
|
Share,
|
||||||
SmartToy,
|
|
||||||
SmartToySharp,
|
SmartToySharp,
|
||||||
|
Subject,
|
||||||
Translate,
|
Translate,
|
||||||
Verified,
|
Verified,
|
||||||
} from "@suid/icons-material";
|
} from "@suid/icons-material";
|
||||||
|
@ -295,7 +296,23 @@ const Profile: Component = () => {
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<Group />
|
<Group />
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
<ListItemText>Subscribers</ListItemText>
|
<ListItemText>Followers</ListItemText>
|
||||||
|
<ListItemSecondaryAction>
|
||||||
|
<span aria-label="The number of the account follower">
|
||||||
|
{profile()?.followersCount ?? ""}
|
||||||
|
</span>
|
||||||
|
</ListItemSecondaryAction>
|
||||||
|
</MenuItem>
|
||||||
|
<MenuItem disabled>
|
||||||
|
<ListItemIcon>
|
||||||
|
<Subject />
|
||||||
|
</ListItemIcon>
|
||||||
|
<ListItemText>Following</ListItemText>
|
||||||
|
<ListItemSecondaryAction>
|
||||||
|
<span aria-label="The number the account following">
|
||||||
|
{profile()?.followingCount ?? ""}
|
||||||
|
</span>
|
||||||
|
</ListItemSecondaryAction>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem disabled>
|
<MenuItem disabled>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
|
@ -303,12 +320,6 @@ const Profile: Component = () => {
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
<ListItemText>Blocklist</ListItemText>
|
<ListItemText>Blocklist</ListItemText>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem disabled>
|
|
||||||
<ListItemIcon>
|
|
||||||
<Translate />
|
|
||||||
</ListItemIcon>
|
|
||||||
<ListItemText>Translate Name and Bio...</ListItemText>
|
|
||||||
</MenuItem>
|
|
||||||
<MenuItem disabled>
|
<MenuItem disabled>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<Send />
|
<Send />
|
||||||
|
|
Loading…
Reference in a new issue