Skip to content

Commit b0ccd83

Browse files
committed
Fix example on web
1 parent cafa5cf commit b0ccd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/app/app.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ class _ChewieDemoState extends State<ChewieDemo> {
304304
),
305305
],
306306
),
307-
if (Platform.isAndroid)
307+
if (Theme.of(context).platform == TargetPlatform.android)
308308
ListTile(
309309
title: const Text("Delay"),
310310
subtitle: DelaySlider(

0 commit comments

Comments
 (0)