mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-03 08:39:46 +08:00
fix:播放异常黑屏等
This commit is contained in:
@@ -123,7 +123,9 @@ class MyApp extends StatelessWidget {
|
||||
DisplayMode preferred = modes.toList().firstWhere((el) => el == f);
|
||||
FlutterDisplayMode.setPreferredMode(preferred);
|
||||
});
|
||||
} catch (_) {}
|
||||
} catch (e) {
|
||||
SmartDialog.showToast('设置帧率失败:$e', displayTime: const Duration(milliseconds: 500));
|
||||
}
|
||||
}
|
||||
|
||||
return DynamicColorBuilder(
|
||||
|
||||
Reference in New Issue
Block a user