From 6b2d83986b01daabfb9eb430d3aba6e4c3ca73cc Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Tue, 1 Mar 2022 21:50:34 +0800 Subject: [PATCH] Moved "Dismiss Pin" to the top If it's a pinned commented, dismissing it is probably the action that the user is looking for, so doesn't make sense to put at the bottom. --- ui/component/commentMenuList/view.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/component/commentMenuList/view.jsx b/ui/component/commentMenuList/view.jsx index a42ab8cab..129cc61b5 100644 --- a/ui/component/commentMenuList/view.jsx +++ b/ui/component/commentMenuList/view.jsx @@ -186,6 +186,13 @@ function CommentMenuList(props: Props) { )} + {isPinned && isLiveComment && isMobile && ( + + + {__('Dismiss Pin')} + + )} + {activeChannelIsCreator && activeChannelClaim && activeChannelClaim.permanent_url !== authorUri && (
@@ -256,13 +263,6 @@ function CommentMenuList(props: Props) { )} - {isPinned && isLiveComment && isMobile && ( - - - {__('Dismiss Pin')} - - )} - {activeChannelClaim && (