From 07256fbc7b33ac078c8f2418e5cf8d9fddb57562 Mon Sep 17 00:00:00 2001 From: stonegate Date: Tue, 19 May 2020 03:04:04 +0800 Subject: [PATCH] modified: tool/env.dart --- lib/home/home.dart | 4 ++-- tool/env.dart | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/home/home.dart b/lib/home/home.dart index fa701a2..d064e03 100644 --- a/lib/home/home.dart +++ b/lib/home/home.dart @@ -868,7 +868,7 @@ class _MyFavoriteState extends State<_MyFavorite> EpisodeGrid( episodes: snapshot.data, layout: _layout, - initNum: 9, + initNum: 0, ), SliverList( delegate: SliverChildBuilderDelegate( @@ -991,7 +991,7 @@ class _MyDownloadState extends State<_MyDownload> : EpisodeGrid( episodes: episodes, layout: _layout, - initNum: 9, + initNum: 0, ); }, ), diff --git a/tool/env.dart b/tool/env.dart index e5fdb2f..d2ea3f8 100644 --- a/tool/env.dart +++ b/tool/env.dart @@ -9,4 +9,5 @@ Future main() async { final filename = 'lib/.env.dart'; File(filename).writeAsString('final environment = ${json.encode(config)};'); + print('Write successfully'); } \ No newline at end of file