Skip to content

Commit c0173b6

Browse files
committed
Fix compile error after rebase
1 parent 38ad9b3 commit c0173b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/src/io/mobile_unity_widget_controller.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,19 @@ class MobileUnityWidgetController extends UnityWidgetController {
6666
});
6767
}
6868

69-
if (_unityWidgetState.widget.onUnityAttached != null) {
69+
if (unityWidgetState.widget.onUnityAttached != null) {
7070
_onUnityAttachedSub = UnityWidgetPlatform.instance
7171
.onUnityAttached(unityId: unityId)
7272
.listen((_) {
73-
_unityWidgetState.widget.onUnityAttached!();
73+
unityWidgetState.widget.onUnityAttached!();
7474
});
7575
}
7676

77-
if (_unityWidgetState.widget.onUnityDetached != null) {
77+
if (unityWidgetState.widget.onUnityDetached != null) {
7878
_onUnityDetachedSub = UnityWidgetPlatform.instance
7979
.onUnityDetached(unityId: unityId)
8080
.listen((_) {
81-
_unityWidgetState.widget.onUnityDetached!();
81+
unityWidgetState.widget.onUnityDetached!();
8282
});
8383
}
8484
}

0 commit comments

Comments
 (0)