[Gallery] Fix slow motion setting announcement (#301)

* Enable a11y carousel scrolling

* Fix slow motion announcement on android talkback

* Revert "Enable a11y carousel scrolling"

This reverts commit cc8f233b54.
pull/305/head
Pierre-Louis 6 years ago committed by GitHub
parent b485f10fca
commit 6f0f2fed52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,7 +26,9 @@ class SlowMotionSetting extends StatelessWidget {
final textTheme = Theme.of(context).textTheme; final textTheme = Theme.of(context).textTheme;
final options = GalleryOptions.of(context); final options = GalleryOptions.of(context);
return Container( return Semantics(
container: true,
child: Container(
margin: settingItemHeaderMargin, margin: settingItemHeaderMargin,
child: Material( child: Material(
shape: RoundedRectangleBorder(borderRadius: settingItemBorderRadius), shape: RoundedRectangleBorder(borderRadius: settingItemBorderRadius),
@ -66,6 +68,7 @@ class SlowMotionSetting extends StatelessWidget {
], ],
), ),
), ),
),
); );
} }
} }

Loading…
Cancel
Save