chore: await future in ThermionFlutterPlugin

This commit is contained in:
Nick Fisher
2024-10-22 12:46:36 +08:00
parent 83fe74253f
commit 6cf4efdf31

View File

@@ -36,7 +36,7 @@ class ThermionFlutterPlugin {
await ThermionFlutterPlatform.instance.createViewer(options: options);
var camera = await _viewer!.getActiveCamera();
camera.setLensProjection();
await camera.setLensProjection();
_viewer!.onDispose(() async {
_viewer = null;