Fix keyboard plug in, streaming don't close

This commit is contained in:
Caten
2023-10-09 06:47:57 +08:00
parent b6d4d2f11b
commit 2cf19179f9
4 changed files with 9 additions and 8 deletions

View File

@@ -587,6 +587,9 @@ done
G.controller = WebViewController()..setJavaScriptMode(JavaScriptMode.unrestricted);
//恢复临时开启的功能
if (Util.shouldWatchAds(G.adsRequired["changeFFmpegCommand"]!)) {
await G.prefs.remove("defaultFFmpegCommand");
}
if (Util.shouldWatchAds(G.adsRequired["changeTermMaxLines"]!)) {
await G.prefs.setInt("termMaxLines", 4095);
}