Commit 50ead56e authored by Dragoș Tiselice's avatar Dragoș Tiselice Committed by GitHub

Made all drawer items actionable. (#5688)

One of the drawer items was dsiabled but still clickable which
led to inconsistent icon coloring. THis commit makes this item
actionable. Fixes #5683.
parent b4fb23ad
......@@ -162,17 +162,10 @@ class GalleryDrawer extends StatelessWidget {
final Widget fileAnIssueItem = new DrawerItem(
icon: new Icon(Icons.report),
child: new RichText(
text: new TextSpan(
children: <TextSpan>[
new LinkTextSpan(
text: "File an issue",
style: linkStyle,
url: 'https://github.com/flutter/flutter/issues/new'
)
]
)
)
onPressed: () {
UrlLauncher.launch('https://github.com/flutter/flutter/issues/new');
},
child: new Text('File an issue')
);
final Widget aboutItem = new AboutDrawerItem(
......
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