diff --git a/lib/widgets/blob_view.dart b/lib/widgets/blob_view.dart index e1c45fc..af3042e 100644 --- a/lib/widgets/blob_view.dart +++ b/lib/widgets/blob_view.dart @@ -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(),