diff --git a/assets/images/run-pokemon.gif b/assets/images/run-pokemon.gif deleted file mode 100644 index bca20afc2..000000000 Binary files a/assets/images/run-pokemon.gif and /dev/null differ diff --git a/lib/http/msg.dart b/lib/http/msg.dart index da83825a2..b3b94a6c7 100644 --- a/lib/http/msg.dart +++ b/lib/http/msg.dart @@ -117,12 +117,11 @@ class MsgHttp { ReplyOptionType? replyOption, int? privatePub, }) async { - String csrf = Accounts.main.csrf; var res = await Request().post( Api.createDynamic, queryParameters: { 'platform': 'web', - 'csrf': csrf, + 'csrf': Accounts.main.csrf, 'x-bili-device-req-json': {"platform": "web", "device": "pc"}, 'x-bili-web-req-json': {"spm_id": "333.999"}, }, diff --git a/lib/pages/episode_panel/view.dart b/lib/pages/episode_panel/view.dart index d4bb73726..3719e3a05 100644 --- a/lib/pages/episode_panel/view.dart +++ b/lib/pages/episode_panel/view.dart @@ -409,7 +409,7 @@ class _EpisodePanelState extends CommonSlidePageState { child: Row( mainAxisAlignment: MainAxisAlignment.start, children: [ - if (cover?.isNotEmpty == true) + if (cover?.isNotEmpty == true) ...[ AspectRatio( aspectRatio: StyleString.aspectRatio, child: LayoutBuilder( @@ -444,15 +444,17 @@ class _EpisodePanelState extends CommonSlidePageState { ); }, ), - ) - else if (isCurrentIndex) + ), + const SizedBox(width: 10), + ] else if (isCurrentIndex) ...[ Image.asset( 'assets/images/live.png', color: primary, height: 12, semanticLabel: "正在播放:", ), - const SizedBox(width: 10), + const SizedBox(width: 10), + ], Expanded( child: Column( mainAxisSize: MainAxisSize.min,