Skip to content

Commit d76a3ab

Browse files
committed
Update.
1 parent 5427e4f commit d76a3ab

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

lib/RTCVideoView.dart

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,15 @@ class _RTCVideoViewState extends State<RTCVideoView> {
140140
height *= scale;
141141
}
142142

143-
return new Center(
144-
child: new Container(
145-
child: new Center(
146-
child: (this.renderer._textureId == null || this.renderer._srcObject == null)
147-
? new Container()
148-
: new Container(
149-
width: width,
150-
height: height,
151-
child: new Texture(textureId: this.renderer._textureId),
152-
)
153-
)));
143+
return
144+
new Center(
145+
child: (this.renderer._textureId == null || this.renderer._srcObject == null)
146+
? new Container()
147+
: new Container(
148+
width: width,
149+
height: height,
150+
child: new Texture(textureId: this.renderer._textureId),
151+
)
152+
);
154153
}
155154
}

0 commit comments

Comments
 (0)