mirror of
https://github.com/git-touch/git-touch
synced 2025-01-31 08:04:51 +01:00
build: upgrade flutter_highlight
This commit is contained in:
parent
b083c4fadd
commit
49db168f6d
@ -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,
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user