Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
thl committed Mar 6, 2019
1 parent 3c2864a commit 38455fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ A1:在Xcode项目Localizations下添加支持语言即可,[原文](https://s

### 关于作者
GitHub : [Sky24n](https://github.com/Sky24n)
简书     : [Sky24n](https://github.com/Sky24n)
掘金     : [Sky24n](https://github.com/Sky24n)
简书     : [Sky24n](https://www.jianshu.com/u/cbf2ad25d33a)
掘金     : [Sky24n](https://juejin.im/user/5b9e8a92e51d453df0440422)
Pub      : [Sky24n](https://pub.flutter-io.cn/packages?q=email%3A863764940%40qq.com)
Email   : [email protected]
如果您觉得本项目不错的话,来个star支持下作者吧!
Expand Down
10 changes: 4 additions & 6 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ import 'package:flutter_wanandroid/data/net/dio_util.dart';
import 'package:flutter_wanandroid/ui/pages/main_page.dart';
import 'package:flutter_wanandroid/ui/pages/page_index.dart';

Future<void> main() async {
return runApp(BlocProvider<ApplicationBloc>(
bloc: ApplicationBloc(),
child: BlocProvider(child: MyApp(), bloc: MainBloc()),
));
}
void main() => runApp(BlocProvider<ApplicationBloc>(
bloc: ApplicationBloc(),
child: BlocProvider(child: MyApp(), bloc: MainBloc()),
));

class MyApp extends StatefulWidget {
@override
Expand Down

0 comments on commit 38455fe

Please sign in to comment.