chore: await future in ThermionFlutterPlugin
This commit is contained in:
1 parent
2ae4f6b338
commit
58e549e3b3
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user