Skip to content

Commit

Permalink
Change RTE mode icons (matrix-org#9861)
Browse files Browse the repository at this point in the history
Change RTE mode icons
  • Loading branch information
florianduros authored and andybalaam committed Jan 12, 2023
1 parent 2d400be commit b63fb62
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 29 deletions.
37 changes: 10 additions & 27 deletions res/img/element-icons/room/composer/plain_text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/views/rooms/MessageComposerButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ function ComposerModeButton({ isRichTextEnabled, onClick }: WysiwygToggleButtonP
<CollapsibleButton
className="mx_MessageComposer_button"
iconClassName={classNames({
mx_MessageComposer_plain_text: isRichTextEnabled,
mx_MessageComposer_rich_text: !isRichTextEnabled,
mx_MessageComposer_plain_text: !isRichTextEnabled,
mx_MessageComposer_rich_text: isRichTextEnabled,
})}
onClick={onClick}
title={title}
Expand Down

0 comments on commit b63fb62

Please sign in to comment.