Skip to content

Commit 9d3c988

Browse files
committed
align text in android
1 parent 4cb72fe commit 9d3c988

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

App/Mixins/KeyboardListener.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ var KeyboardListener = {
1616
return this.state.keyboardSpace > 0;
1717
},
1818

19-
isKeyboardVisible: function() {
20-
return this.state.keyboardSpace > 0;
21-
},
22-
2319
updateKeyboardSpace: function(e) {
2420
if (this.isMounted() && e && e.endCoordinates) {
2521
this.setState({keyboardSpace: e.endCoordinates.height});

App/Screens/CreatePost.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ var styles = StyleSheet.create({
7777
flex: 1,
7878
fontSize: 16,
7979
backgroundColor: 'white',
80-
padding: 20
80+
padding: 20,
81+
textAlignVertical: 'top'
8182
},
8283
button: {
8384
// width: 150

0 commit comments

Comments
 (0)