Skip to content

Commit be3be1b

Browse files
committed
create fork
1 parent bec2b85 commit be3be1b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎lib/page/RepositoryDetailPage.dart‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,13 @@ class _RepositoryDetailPageState extends State<RepositoryDetailPage> {
116116
mainAxisAlignment: MainAxisAlignment.center,
117117
)),
118118
new FlatButton(
119-
onPressed: () {},
119+
onPressed: () {
120+
CommonUtils.showLoadingDialog(context);
121+
return ReposDao.createForkDao(userName, reposName).then((result) {
122+
_refresh();
123+
Navigator.pop(context);
124+
});
125+
},
120126
child: new GSYIConText(
121127
GSYICons.REPOS_ITEM_FORK,
122128
"fork",

0 commit comments

Comments
 (0)