logo和名称替换
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:hgmj/hj_utils/store_keys.dart';
|
||||
import 'package:hgmj/track_event_manager/device_service.dart';
|
||||
import 'package:wydj/hj_utils/store_keys.dart';
|
||||
import 'package:wydj/track_event_manager/device_service.dart';
|
||||
|
||||
import 'light_model.dart';
|
||||
|
||||
@@ -34,7 +34,8 @@ class CodecSupport {
|
||||
static Future<void> init() async {
|
||||
_deviceDisabled = await lightKV.getBool(StoreKeys.H265_DISABLED) ?? false;
|
||||
try {
|
||||
_hwSupport = await _channel.invokeMethod<bool>('isH265HardwareSupported') ?? false;
|
||||
_hwSupport =
|
||||
await _channel.invokeMethod<bool>('isH265HardwareSupported') ?? false;
|
||||
} catch (e) {
|
||||
_hwSupport = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user