diff --git a/android/app/release/output.json b/android/app/release/output.json index 16e1b0c5..5dae1a91 100644 --- a/android/app/release/output.json +++ b/android/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"0.0.5","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0.6","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file diff --git a/app-release.apk b/app-release.apk new file mode 100644 index 00000000..375d27e9 Binary files /dev/null and b/app-release.apk differ diff --git a/lib/main.dart b/lib/main.dart index 7dbd784d..8e1f051b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -79,21 +79,21 @@ class _MyAppState extends State { } showWelcomePage() { - if (_isLoading) { - return Container( - color: const Color(ThemeColor), - child: Center( - child: SpinKitPouringHourglass(color: Colors.white), - ), - ); - } else { - // 判断是否已经登录 - if (_hasLogin) { +// if (_isLoading) { +// return Container( +// color: const Color(ThemeColor), +// child: Center( +// child: SpinKitPouringHourglass(color: Colors.white), +// ), +// ); +// } else { +// // 判断是否已经登录 +// if (_hasLogin) { return AppPage(); - } else { - return LoginPage(); - } - } +// } else { +// return LoginPage(); +// } +// } } @override diff --git a/lib/views/home.dart b/lib/views/home.dart index f7bc9731..1d24cc49 100644 --- a/lib/views/home.dart +++ b/lib/views/home.dart @@ -42,7 +42,7 @@ class _MyHomePageState extends State List list = List(); int _currentIndex = 0; static List tabData = [ - {'text': '业界动态', 'icon': Icon(Icons.language)}, +// {'text': '业界动态', 'icon': Icon(Icons.language)}, {'text': 'WIDGET', 'icon': Icon(Icons.extension)}, {'text': '组件收藏', 'icon': Icon(Icons.favorite)}, {'text': '关于手册', 'icon': Icon(Icons.import_contacts)}, @@ -64,7 +64,7 @@ class _MyHomePageState extends State } list // ..add(FirstPage()) - ..add(MainPage()) +// ..add(MainPage()) ..add(WidgetPage(Provider.db)) ..add(CollectionPage()) ..add(FourthPage()); @@ -120,10 +120,10 @@ class _MyHomePageState extends State } renderAppBar(BuildContext context, Widget widget, int index) { - print('renderAppBar=====>>>>>>${index}'); - if (index == 0) { - return null; - } +// print('renderAppBar=====>>>>>>${index}'); +// if (index == 0) { +// return null; +// } return AppBar(title: buildSearchInput(context)); }