Procházet zdrojové kódy

refactor: removed unused null check

flutter-beta
Julian Steenbakker před 5 roky
rodič
revize
c0ce8e30dc
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 16E437C7A3D94250
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      lib/src/qr_code_scanner.dart

+ 1
- 1
lib/src/qr_code_scanner.dart Zobrazit soubor

@@ -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];


Načítá se…
Zrušit
Uložit