diff --git a/lib/main.dart b/lib/main.dart index 1c81bcc..4339c85 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -21,6 +21,7 @@ import 'package:git_touch/screens/settings.dart'; import 'package:git_touch/screens/stargazers.dart'; import 'package:git_touch/screens/user.dart'; import 'package:git_touch/screens/watchers.dart'; +import 'package:git_touch/utils/utils.dart'; import 'package:provider/provider.dart'; import 'package:git_touch/models/notification.dart'; import 'package:fluro/fluro.dart'; @@ -29,7 +30,6 @@ import 'screens/search.dart'; import 'screens/login.dart'; import 'screens/issue.dart'; import 'screens/trending.dart'; -import 'utils/utils.dart'; import 'package:fimber/fimber.dart'; class Home extends StatefulWidget { @@ -235,7 +235,7 @@ void main() async { codeModel.init(), ]); - final routers = [ + final List routers = [ gitlabBlobRouter, gitlabTreeRouter, gitlabProjectRouter, diff --git a/lib/screens/issue.dart b/lib/screens/issue.dart index 6517b21..33ab325 100644 --- a/lib/screens/issue.dart +++ b/lib/screens/issue.dart @@ -1,10 +1,10 @@ import 'package:flutter/material.dart'; import 'package:flutter/cupertino.dart'; import 'package:git_touch/models/auth.dart'; +import 'package:git_touch/utils/utils.dart'; import 'package:git_touch/widgets/action_button.dart'; import 'package:primer/primer.dart'; import 'package:provider/provider.dart'; -import '../utils/utils.dart'; import '../scaffolds/long_list.dart'; import '../widgets/timeline_item.dart'; import '../widgets/comment_item.dart';