Skip to content

Commit f08d3bd

Browse files
michdudwilllarche
authored andcommitted
Revert changes to semantic labels in 102-3 (#98)
I realized that the buttons don't link to the login page until 104, so the 'login' semantic label should be removed through 103-complete-104-starter.
1 parent 0adc7aa commit f08d3bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mdc_100_series/lib/home.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class HomePage extends StatelessWidget {
9898
IconButton(
9999
icon: Icon(
100100
Icons.search,
101-
semanticLabel: 'login',
101+
semanticLabel: 'search',
102102
),
103103
onPressed: () {
104104
print('Search button');
@@ -107,7 +107,7 @@ class HomePage extends StatelessWidget {
107107
IconButton(
108108
icon: Icon(
109109
Icons.tune,
110-
semanticLabel: 'login',
110+
semanticLabel: 'filter',
111111
),
112112
onPressed: () {
113113
print('Filter button');

0 commit comments

Comments
 (0)