Commit 077bf954 authored by Steven's avatar Steven

chore: add pinned icon in status bar

parent e465b2f0
......@@ -300,6 +300,14 @@ const Memo: React.FC<Props> = (props: Props) => {
<UserAvatar className="!w-5 !h-auto mr-1" avatarUrl={creator.avatarUrl} />
<span className="text-sm text-gray-600 max-w-[8em] truncate dark:text-gray-400">{creator.nickname}</span>
</Link>
{memo.pinned && (
<>
<Icon.Dot className="w-4 h-auto text-gray-400 dark:text-zinc-400" />
<Tooltip title={"Pinned"} placement="top">
<Icon.Bookmark className="w-4 h-auto text-green-600" />
</Tooltip>
</>
)}
{props.showVisibility && (
<>
<Icon.Dot className="w-4 h-auto text-gray-400 dark:text-zinc-400" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment