From 0fce330d709a7b0cc98ea1056f230c55b46651ea Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Mon, 30 Sep 2019 16:31:07 +0800 Subject: [PATCH] chore: action -> action_button --- lib/screens/issue.dart | 2 +- lib/screens/organization.dart | 2 +- lib/screens/repository.dart | 2 +- lib/screens/user.dart | 2 +- lib/widgets/{action.dart => action_button.dart} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename lib/widgets/{action.dart => action_button.dart} (100%) diff --git a/lib/screens/issue.dart b/lib/screens/issue.dart index e051391..117cdbc 100644 --- a/lib/screens/issue.dart +++ b/lib/screens/issue.dart @@ -1,13 +1,13 @@ import 'package:flutter/material.dart'; import 'package:flutter/cupertino.dart'; import 'package:git_touch/models/auth.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'; -import '../widgets/action.dart'; var reactionChunk = emojiMap.entries.map((entry) { var key = entry.key; diff --git a/lib/screens/organization.dart b/lib/screens/organization.dart index 3e4b043..3b53423 100644 --- a/lib/screens/organization.dart +++ b/lib/screens/organization.dart @@ -10,7 +10,7 @@ import 'package:git_touch/widgets/table_view.dart'; import 'package:git_touch/widgets/user_item.dart'; import 'package:git_touch/models/auth.dart'; import 'package:provider/provider.dart'; -import '../widgets/action.dart'; +import 'package:git_touch/widgets/action_button.dart'; import '../utils/utils.dart'; class OrganizationScreen extends StatelessWidget { diff --git a/lib/screens/repository.dart b/lib/screens/repository.dart index e9e22cf..84f94ae 100644 --- a/lib/screens/repository.dart +++ b/lib/screens/repository.dart @@ -18,7 +18,7 @@ import '../widgets/entry_item.dart'; import '../screens/issues.dart'; import '../screens/user.dart'; import '../screens/organization.dart'; -import '../widgets/action.dart'; +import 'package:git_touch/widgets/action_button.dart'; class RepositoryScreen extends StatelessWidget { final String owner; diff --git a/lib/screens/user.dart b/lib/screens/user.dart index cba406e..43fcd4f 100644 --- a/lib/screens/user.dart +++ b/lib/screens/user.dart @@ -14,7 +14,7 @@ import 'package:git_touch/models/auth.dart'; import 'package:provider/provider.dart'; import '../widgets/entry_item.dart'; import 'package:git_touch/widgets/repository_item.dart'; -import '../widgets/action.dart'; +import 'package:git_touch/widgets/action_button.dart'; import '../screens/users.dart'; import '../screens/settings.dart'; import '../utils/utils.dart'; diff --git a/lib/widgets/action.dart b/lib/widgets/action_button.dart similarity index 100% rename from lib/widgets/action.dart rename to lib/widgets/action_button.dart