Skip to content

Commit 078ffa0

Browse files
committed
Update github-client rebuild script
1 parent c587303 commit 078ffa0

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

github-client/codelab_rebuild.yaml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,10 +1075,9 @@ steps:
10751075
@override
10761076
initState() {
10771077
super.initState();
1078-
_pullRequests =
1079-
widget.gitHub.pullRequests
1080-
.list(RepositorySlug('flutter', 'flutter'))
1081-
.toList();
1078+
_pullRequests = widget.gitHub.pullRequests
1079+
.list(RepositorySlug('flutter', 'flutter'))
1080+
.toList();
10821081
}
10831082
10841083
late Future<List<PullRequest>> _pullRequests;
@@ -1124,19 +1123,18 @@ steps:
11241123
if (state.mounted) {
11251124
return showDialog(
11261125
context: state.context,
1127-
builder:
1128-
(context) => AlertDialog(
1129-
title: const Text('Navigation error'),
1130-
content: Text('Could not launch $url'),
1131-
actions: <Widget>[
1132-
TextButton(
1133-
onPressed: () {
1134-
Navigator.of(context).pop();
1135-
},
1136-
child: const Text('Close'),
1137-
),
1138-
],
1126+
builder: (context) => AlertDialog(
1127+
title: const Text('Navigation error'),
1128+
content: Text('Could not launch $url'),
1129+
actions: <Widget>[
1130+
TextButton(
1131+
onPressed: () {
1132+
Navigator.of(context).pop();
1133+
},
1134+
child: const Text('Close'),
11391135
),
1136+
],
1137+
),
11401138
);
11411139
}
11421140
}

0 commit comments

Comments
 (0)