This commit is contained in:
lzcode
2026-10-16 21:05:54 +08:00
parent 84696ba416
commit 190de72571
6 changed files with 540 additions and 314 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ class AppConfig {
/// App 版本(对应 pubspec version 的 name 部分;version_code 对应 build 号)
/// ⚠️ 每次发版必须与 pubspec.yaml 的 version 同步递增,否则老用户会一直提示更新
static const String appVersion = '1.1.8';
static const int appVersionCode = 10;
static const String appVersion = '1.2.0';
static const int appVersionCode = 12;
/// 平台标识(运行时按 iOS/Android 判定,见 platformName)
static const String platformNameIOS = 'ios';
@@ -287,7 +287,9 @@ class _FeedVideoPageState extends ConsumerState<FeedVideoPage> {
duration: (ep['duration'] as num?)?.toInt() ?? 0,
author: widget.item.author,
);
// 打开 SimplePlayerScreen 播放该集
// 先暂停 Feed 页播放器,再打开 SimplePlayerScreen
widget.pool.pauseExcept(slotIndex: -1);
// ignore: use_build_context_synchronously
context.push('/player', extra: newItem);
}
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -2,7 +2,7 @@ name: video_app
description: "短视频应用(Flutter,iOS/Android 双端)"
publish_to: 'none'
version: 1.1.8+10
version: 1.2.0+12
environment:
sdk: ^3.9.2