disable color mode change
This commit is contained in:
parent
c778bd6e9e
commit
743f8f72f9
1 changed files with 8 additions and 7 deletions
|
@ -140,12 +140,13 @@ class PlatformWindowService implements WindowService {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> setHdrColorMode(bool on) async {
|
Future<void> setHdrColorMode(bool on) async {
|
||||||
try {
|
// TODO TLAD [hdr] enable when ready
|
||||||
await _platform.invokeMethod('setHdrColorMode', <String, dynamic>{
|
// try {
|
||||||
'on': on,
|
// await _platform.invokeMethod('setHdrColorMode', <String, dynamic>{
|
||||||
});
|
// 'on': on,
|
||||||
} on PlatformException catch (e, stack) {
|
// });
|
||||||
await reportService.recordError(e, stack);
|
// } on PlatformException catch (e, stack) {
|
||||||
}
|
// await reportService.recordError(e, stack);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue