Ver a proveniência

refactor: removed unused null check

flutter-beta
Julian Steenbakker há 5 anos
ascendente
cometimento
c0ce8e30dc
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 16E437C7A3D94250
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      lib/src/qr_code_scanner.dart

+ 1
- 1
lib/src/qr_code_scanner.dart Ver ficheiro

@@ -233,7 +233,7 @@ class QRViewController {
/// Gets information about which camera is active.
Future<CameraFacing> getCameraInfo() async {
try {
var cameraFacing = await _channel.invokeMethod('getCameraInfo') as int?;
var cameraFacing = await _channel.invokeMethod('getCameraInfo') as int;
if (cameraFacing == -1) return _cameraFacing;
return CameraFacing
.values[await _channel.invokeMethod('getCameraInfo') as int];


Carregando…
Cancelar
Guardar