From b91db22eb4c4692778f37e25d832487842283e92 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Wed, 25 Dec 2019 10:41:51 +0800 Subject: [PATCH] fix: import path --- lib/main.dart | 4 ++-- lib/screens/issue.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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';