diff --git a/lib/widgets/object_tree.dart b/lib/widgets/object_tree.dart index 032be05..70d2cab 100644 --- a/lib/widgets/object_tree.dart +++ b/lib/widgets/object_tree.dart @@ -3,7 +3,7 @@ import 'package:flutter/material.dart'; import 'package:git_touch/utils/utils.dart'; import 'package:git_touch/widgets/table_view.dart'; import 'package:primer/primer.dart'; -import 'package:seti/seti.dart'; +import 'package:file_icon/file_icon.dart'; class ObjectTreeItem { final String url; @@ -29,7 +29,7 @@ class ObjectTree extends StatelessWidget { case 'blob': // github gql, gitlab case 'file': // github rest, gitea case 'commit_file': // bitbucket - return SetiIcon(item.name, size: 36); + return FileIcon(item.name, size: 36); case 'tree': // github gql, gitlab case 'dir': // github rest, gitea case 'commit_directory': // bitbucket diff --git a/pubspec.yaml b/pubspec.yaml index b24dabb..66833ad 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -19,7 +19,7 @@ dependencies: flutter_highlight: ^0.6.0 primer: ^0.0.2 nanoid: ^0.0.6 - seti: ^0.2.0 + file_icon: ^0.3.0 http: ^0.12.0 intl: ^0.16.0 url_launcher: ^5.0.2