From 58b78ec27a02637a3983253d62ff86b0c60bd85f Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Wed, 21 Dec 2022 16:00:38 +0200 Subject: [PATCH] use correct syntax highlight styles for github code theme (#6895) --- app/components/syntax_highlight/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/syntax_highlight/index.tsx b/app/components/syntax_highlight/index.tsx index a83b2e3e01..8ddcdd63b0 100644 --- a/app/components/syntax_highlight/index.tsx +++ b/app/components/syntax_highlight/index.tsx @@ -4,7 +4,7 @@ import React, {useCallback, useMemo} from 'react'; import {StyleSheet, View} from 'react-native'; import SyntaxHighlighter from 'react-syntax-highlighter'; -import {github, monokai, solarizedDark, solarizedLight} from 'react-syntax-highlighter/dist/cjs/styles/hljs'; +import {githubGist as github, monokai, solarizedDark, solarizedLight} from 'react-syntax-highlighter/dist/cjs/styles/hljs'; import {useTheme} from '@context/theme';