mirror of
https://github.com/git-touch/git-touch
synced 2024-12-18 19:22:54 +01:00
fix(gitlab): syntax highlight in dark mode
This commit is contained in:
parent
00d67784af
commit
df09ee4c17
@ -55,7 +55,9 @@ class BlobView extends StatelessWidget {
|
||||
child: HighlightView(
|
||||
payload,
|
||||
language: _language,
|
||||
theme: themeMap[codeProvider.theme],
|
||||
theme: themeMap[theme.brightness == Brightness.dark
|
||||
? codeProvider.themeDark
|
||||
: codeProvider.theme],
|
||||
padding: CommonStyle.padding,
|
||||
textStyle: TextStyle(
|
||||
fontSize: codeProvider.fontSize.toDouble(),
|
||||
|
Loading…
Reference in New Issue
Block a user