Bot Trust Modal: Fix Markdown
This commit is contained in:
parent
4f42b676ce
commit
f2ab2269d7
@ -61,7 +61,7 @@ const BotTrustModal: FC<OwnProps> = ({ bot, type, shouldRequestWriteAccess }) =>
|
||||
title={title}
|
||||
confirmHandler={handleBotTrustAccept}
|
||||
>
|
||||
{text}
|
||||
{renderText(text, ['simple_markdown'])}
|
||||
{shouldRequestWriteAccess && (
|
||||
<Checkbox
|
||||
className="dialog-checkbox"
|
||||
|
||||
@ -45,7 +45,7 @@ export const CUSTOM_EMOJI_PREVIEW_CACHE_DISABLED = false;
|
||||
export const CUSTOM_EMOJI_PREVIEW_CACHE_NAME = 'tt-custom-emoji-preview';
|
||||
export const MEDIA_CACHE_MAX_BYTES = 512 * 1024; // 512 KB
|
||||
export const CUSTOM_BG_CACHE_NAME = 'tt-custom-bg';
|
||||
export const LANG_CACHE_NAME = 'tt-lang-packs-v18';
|
||||
export const LANG_CACHE_NAME = 'tt-lang-packs-v19';
|
||||
export const ASSET_CACHE_NAME = 'tt-assets';
|
||||
export const AUTODOWNLOAD_FILESIZE_MB_LIMITS = [1, 5, 10, 50, 100, 500];
|
||||
export const DATA_BROADCAST_CHANNEL_NAME = 'tt-global';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user