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.
This commit is contained in:
Dragoș Tiselice
2016-08-31 15:46:39 -07:00
committed by GitHub
parent b4fb23ad10
commit 50ead56e0e

View File

@@ -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(