Commit cb35a1c7 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Tiny a11y fix for Gallery (#11187)

parent f2809423
...@@ -31,7 +31,8 @@ class GalleryItem extends StatelessWidget { ...@@ -31,7 +31,8 @@ class GalleryItem extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return new ListTile( return new MergeSemantics(
child: new ListTile(
title: new Text(title), title: new Text(title),
subtitle: new Text(subtitle), subtitle: new Text(subtitle),
onTap: () { onTap: () {
...@@ -43,6 +44,7 @@ class GalleryItem extends StatelessWidget { ...@@ -43,6 +44,7 @@ class GalleryItem extends StatelessWidget {
Navigator.pushNamed(context, routeName); Navigator.pushNamed(context, routeName);
} }
} }
),
); );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment