Skip to content

Commit

Permalink
fix IssueDetailPage more item
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuoSmall committed May 23, 2018
1 parent d80a45c commit 70101af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/components/IssueDetailPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ class IssueDetailPage extends Component {
this.setState({
dataSource: dataList
});
Actions.refresh({titleData: res.data});
}

return res.next();
})
.then((res) => {
Expand Down
8 changes: 7 additions & 1 deletion app/components/RepositoryIssueListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {getFullName} from '../utils/htmlUtils'
import Icon from 'react-native-vector-icons/Ionicons'
import * as Config from '../config'
import CommonBottomBar from "./common/CommonBottomBar";
import {CommonMoreRightBtnPress} from '../utils/actionUtils'

/**
* 仓库issue列表
Expand Down Expand Up @@ -123,10 +124,15 @@ class RepositoryIssueListPage extends Component {
issueTag={"#" + rowData.number}
onPressItem={() => {
Actions.IssueDetail({
iconType:2,
rightBtn: 'ios-more',
needRightBtn: true,
issue: rowData, title: fullName,
repositoryName: this.props.repositoryName,
userName: this.props.userName
userName: this.props.userName,
rightBtnPress: (params) => {
return CommonMoreRightBtnPress(params)
}
})
}}/>
)
Expand Down

0 comments on commit 70101af

Please sign in to comment.