Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit b8893a0

Browse files
authored
Merge pull request #148 from BoostIO/fix-layout
Fix some layouts
2 parents fbd917b + 867dd86 commit b8893a0

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

app/views/note/NoteModal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export default class NoteModal extends React.Component {
250250
}
251251
}
252252
)}>
253-
<Text><Icon name='md-more' style={styles.noteDetailButton}/></Text>
253+
<Text><Icon name='ios-more' style={styles.noteDetailButton}/></Text>
254254
</Button>
255255
</Root>
256256
</View>

app/views/note/inputSupport/NoteInputSupport.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -68,68 +68,68 @@ export default class NoteInputSupport extends React.Component {
6868
</TouchableHighlight>
6969
<TouchableHighlight
7070
onPress={() => {
71-
this.props.insertMarkdownBetween('**')
71+
this.props.insertMarkdownBetween('- [ ] ')
7272
}}
7373
style={Styles.inputElementsStyle}>
7474
<View>
7575
<SvgUri
7676
width='17'
7777
height='17'
78-
source={boldIcon}
78+
source={checkboxIcon}
7979
style={Styles.supportImage}
8080
/>
8181
</View>
8282
</TouchableHighlight>
8383
<TouchableHighlight
84-
onPress={() => {
85-
this.props.insertMarkdownBetween('_')
86-
}}
84+
onPress={this.props.pasteContent.bind(this)}
8785
style={Styles.inputElementsStyle}>
8886
<View>
8987
<SvgUri
9088
width='17'
9189
height='17'
92-
source={italicIcon}
90+
source={pasteIcon}
9391
style={Styles.supportImage}
9492
/>
9593
</View>
9694
</TouchableHighlight>
9795
<TouchableHighlight
9896
onPress={() => {
99-
this.props.insertMarkdownBetween('> ')
97+
this.props.insertMarkdownBetween('**')
10098
}}
10199
style={Styles.inputElementsStyle}>
102100
<View>
103101
<SvgUri
104102
width='17'
105103
height='17'
106-
source={quoteIcon}
104+
source={boldIcon}
107105
style={Styles.supportImage}
108106
/>
109107
</View>
110108
</TouchableHighlight>
111109
<TouchableHighlight
112110
onPress={() => {
113-
this.props.insertMarkdownBetween('- [ ] ')
111+
this.props.insertMarkdownBetween('> ')
114112
}}
115113
style={Styles.inputElementsStyle}>
116114
<View>
117115
<SvgUri
118116
width='17'
119117
height='17'
120-
source={checkboxIcon}
118+
source={quoteIcon}
121119
style={Styles.supportImage}
122120
/>
123121
</View>
124122
</TouchableHighlight>
125123
<TouchableHighlight
126-
onPress={this.props.pasteContent.bind(this)}
124+
onPress={() => {
125+
this.props.insertMarkdownBetween('_')
126+
}}
127127
style={Styles.inputElementsStyle}>
128128
<View>
129129
<SvgUri
130130
width='17'
131131
height='17'
132-
source={pasteIcon}
132+
source={italicIcon}
133133
style={Styles.supportImage}
134134
/>
135135
</View>

0 commit comments

Comments
 (0)