基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
fix: searchbar theme color
yixiaojiu0a6c63fb846d
diff --git a/lib/pages/popular/popular_page.dart b/lib/pages/popular/popular_page.dartindex 0f280a92..68773ee0 100644--- a/lib/pages/popular/popular_page.dart+++ b/lib/pages/popular/popular_page.dart@@ -82,6 +82,7 @@ class _PopularPageState extends State<PopularPage>@overrideWidget build(BuildContext context) {super.build(context);+ final isLight = Theme.of(context).brightness == Brightness.light;WidgetsBinding.instance.addPostFrameCallback((_) {// 暂时移除,某些情况下可能 crash// scrollController.jumpTo(popularController.scrollOffset);@@ -97,18 +98,20 @@ class _PopularPageState extends State<PopularPage>},child: Scaffold(appBar: SysAppBar(- leading: (Utils.isCompact()) ? Row(- children: [- const SizedBox(- width: 10,- ),- ClipOval(- child: Image.asset(- 'assets/images/logo/logo_android.png',- ),- ),- ],- ) : null,+ leading: (Utils.isCompact())+ ? Row(+ children: [+ const SizedBox(+ width: 10,+ ),+ ClipOval(+ child: Image.asset(+ 'assets/images/logo/logo_android.png',+ ),+ ),+ ],+ )+ : null,backgroundColor: Colors.transparent,title: Stack(children: [@@ -128,6 +131,8 @@ class _PopularPageState extends State<PopularPage>borderRadius: BorderRadius.all(Radius.circular(8)),),),+ searchStyle: TextStyle(+ color: isLight ? Colors.black87 : Colors.white70),onChanged: (_) {scrollController.jumpTo(0.0);},