mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: 倍速与字幕就近弹出菜单
This commit is contained in:
@@ -582,6 +582,13 @@ class VideoHttp {
|
||||
SmartDialog.showToast("字幕${i['lan_doc']}加载失败, ${res.data['message']}");
|
||||
}
|
||||
}
|
||||
if (subtitlesVtt.isNotEmpty) {
|
||||
subtitlesVtt.insert(0, {
|
||||
'language': '',
|
||||
'title': '关闭字幕',
|
||||
'text': ""
|
||||
});
|
||||
}
|
||||
return subtitlesVtt;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user