Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3488636
D7970.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7970.diff
View Options
diff --git a/web/CommIcon.react.js b/web/CommIcon.react.js
--- a/web/CommIcon.react.js
+++ b/web/CommIcon.react.js
@@ -18,7 +18,8 @@
| 'emote-smile-filled'
| 'pin'
| 'unpin'
- | 'pin-mirror';
+ | 'pin-mirror'
+ | 'edit-filled';
type CommIconProps = {
+icon: CommIcons,
diff --git a/web/utils/tooltip-action-utils.js b/web/utils/tooltip-action-utils.js
--- a/web/utils/tooltip-action-utils.js
+++ b/web/utils/tooltip-action-utils.js
@@ -5,7 +5,6 @@
import * as React from 'react';
import { useModalContext } from 'lib/components/modal-provider.react.js';
-import SWMansionIcon from 'lib/components/SWMansionIcon.react.js';
import type { ChatMessageInfoItem } from 'lib/selectors/chat-selectors.js';
import { useCanEditMessage } from 'lib/shared/edit-messages-utils.js';
import { createMessageReply } from 'lib/shared/message-utils.js';
@@ -241,9 +240,7 @@
if (!canEditMessage) {
return null;
}
- const buttonContent = (
- <SWMansionIcon icon="edit-1" size={18} disableFill={false} />
- );
+ const buttonContent = <CommIcon icon="edit-filled" size={18} />;
const onClickEdit = () => {
clearTooltip();
renderEditModal({
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 10:58 AM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2676821
Default Alt Text
D7970.diff (1 KB)
Attached To
Mode
D7970: [web] Change edit icon to filled
Attached
Detach File
Event Timeline
Log In to Comment