diff --git a/README.md b/README.md index ec9268e..4bc5682 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Psnine第三方安卓客户端, 基于React Native, 支持安卓5.0及以上系 - 支持登录、签到、用户中心、用户游戏、留言板和用户圈子 - 支持奖杯列表、奖杯TIP和奖杯评分 - 支持用户收藏、发布、圈子、图床、图片上传、明细、个性化和修改密码 -- 支持主题的切换, 包括首页布局和19种主题颜色, 以及对应的强调色和夜间主题 +- 支持主题的切换, 可以切换首页布局和19种主题颜色, 以及对应的强调色和夜间主题 # Download > [https://fir.im/mf24](https://fir.im/mf24) diff --git a/package.json b/package.json index de1d321..1293c27 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "psnine", - "version": "0.5.0", + "version": "0.6.0", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", diff --git a/psnine/container/new/NewBattle.js b/psnine/container/new/NewBattle.js index ca42871..3c0f442 100644 --- a/psnine/container/new/NewBattle.js +++ b/psnine/container/new/NewBattle.js @@ -384,7 +384,6 @@ export default class NewTopic extends Component { onSelectionChange={this.onSelectionChange} blurOnSubmit={true} numberOfLines={100} - selection={this.state.selection} ref={ref => this.content = ref} onChange={({ nativeEvent }) => { this.setState({ content: nativeEvent.text }) }} value={this.state.content} diff --git a/psnine/container/new/NewGene.js b/psnine/container/new/NewGene.js index db0bead..d0c7456 100644 --- a/psnine/container/new/NewGene.js +++ b/psnine/container/new/NewGene.js @@ -281,8 +281,7 @@ export default class NewTopic extends Component { keyboardType="default" returnKeyType='go' returnKeyLabel='go' - onSelectionChange={this.onSelectionChange} - selection={this.state.selection} + onSelectionChange={this.onSelectionChange} blurOnSubmit={true} numberOfLines={100} ref={ref => this.content = ref} diff --git a/psnine/container/new/NewQa.js b/psnine/container/new/NewQa.js index ffd6473..f6e6066 100644 --- a/psnine/container/new/NewQa.js +++ b/psnine/container/new/NewQa.js @@ -380,7 +380,6 @@ export default class NewTopic extends Component { returnKeyType='go' returnKeyLabel='go' onSelectionChange={this.onSelectionChange} - selection={this.state.selection} blurOnSubmit={true} numberOfLines={100} ref={ref => this.content = ref} diff --git a/psnine/container/new/NewTopic.js b/psnine/container/new/NewTopic.js index 673733b..3be162c 100644 --- a/psnine/container/new/NewTopic.js +++ b/psnine/container/new/NewTopic.js @@ -306,7 +306,6 @@ export default class NewTopic extends Component { returnKeyType='go' returnKeyLabel='go' onSelectionChange={this.onSelectionChange} - selection={this.state.selection} blurOnSubmit={true} numberOfLines={100} ref={ref => this.content = ref} diff --git a/psnine/container/new/Reply.js b/psnine/container/new/Reply.js index 42f3a0a..0d1e0f9 100644 --- a/psnine/container/new/Reply.js +++ b/psnine/container/new/Reply.js @@ -422,7 +422,6 @@ export default class Reply extends Component { returnKeyType='go' returnKeyLabel='go' onSelectionChange={this.onSelectionChange} - selection={this.state.selection} blurOnSubmit={true} numberOfLines={100} ref={ref => this.content = ref} diff --git a/psnine/container/shared/ImageUploadItem.js b/psnine/container/shared/ImageUploadItem.js index b2809cc..76f0e87 100644 --- a/psnine/container/shared/ImageUploadItem.js +++ b/psnine/container/shared/ImageUploadItem.js @@ -60,8 +60,8 @@ export default class PhotoItem extends React.PureComponent { alignSelf: 'flex-start', alignContent: 'flex-end', backgroundColor: modeInfo.backgroundColor, - width: ITEM_HEIGHT, - height: ITEM_HEIGHT, + width: SCREEN_WIDTH / 2, + height: SCREEN_WIDTH / 2, }}> diff --git a/psnine/container/shared/MessageItem.js b/psnine/container/shared/MessageItem.js index be1b7de..2e069f6 100644 --- a/psnine/container/shared/MessageItem.js +++ b/psnine/container/shared/MessageItem.js @@ -68,10 +68,10 @@ export default class ComplexComment extends React.PureComponent { background={TouchableNativeFeedback.SelectableBackgroundBorderless()} > - + { rowData.avatar && || undefined } { this.state.modalVisible && modalList.length && ( ) } + renderTheme = ({ item: rowData, index}) => { + const { modeInfo } = this.props.screenProps + const { ITEM_HEIGHT } = this + const { navigation } = this.props + // console.log(index, rowData) + const topicopen = this.state.data.form.topicopen + return ( + +