Skip to content

Commit 3efa894

Browse files
committed
Update chewie_audio
1 parent 90869b1 commit 3efa894

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lib/src/replaced_element.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ class AudioContentElement extends ReplacedElement {
115115
Widget toWidget(RenderContext context) {
116116
return Container(
117117
width: context.style.width ?? 300,
118-
height: 48,
118+
height: Theme.of(context.buildContext).platform == TargetPlatform.android
119+
? 48 : 75,
119120
child: ChewieAudio(
120121
controller: ChewieAudioController(
121122
videoPlayerController: VideoPlayerController.network(

pubspec.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ dependencies:
2727

2828
# Plugins for rendering the <audio> tag.
2929
# todo remove github dependency
30-
chewie_audio:
31-
git:
32-
url: https://github.com/tneotia/chewie_audio-1.git
33-
ref: nullsafety
30+
chewie_audio: ^1.2.0
3431

3532
# Plugins for rendering the <svg> tag.
3633
flutter_svg: ^0.21.0-nullsafety.0

0 commit comments

Comments
 (0)