feat: 首页推荐视频缓存

This commit is contained in:
guozhigq
2023-05-17 10:27:54 +08:00
parent 83fac74630
commit 75ed91c29d
17 changed files with 526 additions and 14 deletions

View File

@ -17,7 +17,7 @@ class _MediaPageState extends State<MediaPage>
Future? _futureBuilderFuture;
@override
bool get wantKeepAlive => true;
bool get wantKeepAlive => false;
@override
void initState() {
@ -65,7 +65,9 @@ class _MediaPageState extends State<MediaPage>
),
),
],
favFolder()
Obx(() => _mediaController.userLogin.value == true
? favFolder()
: const SizedBox())
],
),
);