diff --git a/lib/screens/object.dart b/lib/screens/object.dart index f85ccec..e9b9e33 100644 --- a/lib/screens/object.dart +++ b/lib/screens/object.dart @@ -111,7 +111,7 @@ class ObjectScreen extends StatelessWidget { Widget _buildBlob(payload) { // FIXME: - return Highlight( + return HighlightView( payload['text'], language: extname.isEmpty ? 'plaintext' : extname, theme: githubTheme, diff --git a/pubspec.yaml b/pubspec.yaml index 7e18f83..bfff20c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -29,7 +29,7 @@ dependencies: github_contributions: ^0.1.1 flutter_svg: ^0.13.0 launch_review: ^2.0.0 - flutter_highlight: ^0.2.1 + flutter_highlight: ^0.3.0 timeago: ^2.0.18 primer: git: