Skip to content

Commit 30e34dc

Browse files
committed
fix branch text
1 parent e6bbf93 commit 30e34dc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎lib/page/RepositoryDetailPage.dart‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ class _RepositoryDetailPageState extends State<RepositoryDetailPage> {
193193
_renderBranchPopItem(branchControl.currentBranch, branchList, (value) {
194194
setState(() {
195195
branchControl.currentBranch = value;
196+
tarBarControl.footerButton = _getBottomWidget();
196197
});
197-
_getReposDetail();
198198
if (infoListKey.currentState != null && infoListKey.currentState.mounted) {
199199
infoListKey.currentState.showRefreshLoading();
200200
}
@@ -218,9 +218,6 @@ class _RepositoryDetailPageState extends State<RepositoryDetailPage> {
218218

219219
@override
220220
Widget build(BuildContext context) {
221-
fileListKey = new GlobalKey<RepositoryDetailFileListPageState>();
222-
infoListKey = new GlobalKey<ReposDetailInfoPageState>();
223-
readmeKey = new GlobalKey<RepositoryDetailReadmePageState>();
224221
return new GSYTabBarWidget(
225222
type: GSYTabBarWidget.TOP_TAB,
226223
tarWidgetControl: tarBarControl,

0 commit comments

Comments
 (0)