mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
fix; set subtitle before init (#1742)
* tweka * fix; set subtitle before init
This commit is contained in:
committed by
GitHub
parent
c89d6a5a59
commit
e589f27195
@@ -644,8 +644,8 @@ class HeaderControlState extends State<HeaderControl> {
|
||||
lanDoc: name.split('.').firstOrNull ?? name,
|
||||
),
|
||||
)
|
||||
..vttSubtitles[length] = sub
|
||||
..setSubtitle(length + 1);
|
||||
..vttSubtitles[length] = sub;
|
||||
await videoDetailCtr.setSubtitle(length + 1);
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user