opt: video subtitle

avoid refetching subtitle
fix stuck when parsing large subtitle body

opt: viewpoints

Update README.md

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-02 12:54:23 +08:00
parent a0b1e23727
commit cbdd8e77db
15 changed files with 348 additions and 121 deletions

View File

@@ -44,9 +44,7 @@ class _SetSwitchItemState extends State<SetSwitchItem> {
// if (widget.setKey == SettingBoxKey.autoUpdate && value == true) {
// Utils.checkUpdate();
// }
if (widget.onChanged != null) {
widget.onChanged!.call(val);
}
widget.onChanged?.call(val);
if (widget.needReboot != null && widget.needReboot!) {
SmartDialog.showToast('重启生效');
}