mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-08 07:28:37 +08:00
fix: player height collapse and danmaku empty state
This commit is contained in:
@@ -58,7 +58,9 @@ export default function DanmakuList({ danmakus, currentTime, visible, onToggle }
|
||||
</Text>
|
||||
)}
|
||||
ListEmptyComponent={
|
||||
<Text style={styles.empty}>暂无弹幕</Text>
|
||||
<Text style={styles.empty}>
|
||||
{danmakus.length === 0 ? '暂无弹幕' : '弹幕将随视频播放显示'}
|
||||
</Text>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user