diff --git a/src/app/components/message/content/FallbackContent.tsx b/src/app/components/message/content/FallbackContent.tsx index d5c817b..9edb967 100644 --- a/src/app/components/message/content/FallbackContent.tsx +++ b/src/app/components/message/content/FallbackContent.tsx @@ -20,28 +20,28 @@ export const MessageDeletedContent = as<'div', { children?: never; reason?: stri export const MessageUnsupportedContent = as<'div', { children?: never }>(({ ...props }, ref) => ( - Unsupported message. + Unsupported message )); export const MessageFailedContent = as<'div', { children?: never }>(({ ...props }, ref) => ( - Failed to load message. + Failed to load message )); export const MessageBadEncryptedContent = as<'div', { children?: never }>(({ ...props }, ref) => ( - Unable to decrypt message. Please verify your session or restore your backup. + Unable to decrypt message )); export const MessageNotDecryptedContent = as<'div', { children?: never }>(({ ...props }, ref) => ( - This message is not decrypted yet. Please wait. + This message is not decrypted yet )); diff --git a/src/app/features/room/RoomInput.tsx b/src/app/features/room/RoomInput.tsx index b00dee2..76bafc9 100644 --- a/src/app/features/room/RoomInput.tsx +++ b/src/app/features/room/RoomInput.tsx @@ -580,27 +580,14 @@ export const RoomInput = forwardRef( ) } before={ - room.hasEncryptionStateEvent() ? - [ - pickFile('*')} - variant="SurfaceVariant" - size="300" - radii="300" - > - - , - , - ] : ( - < IconButton - onClick={() => pickFile('*')} - variant="SurfaceVariant" - size="300" - radii="300" - > - - - ) + pickFile('*')} + variant="SurfaceVariant" + size="300" + radii="300" + > + + } after={ <>