Skip to content

Commit

Permalink
fix line breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
assaf committed Sep 17, 2017
1 parent 11aa1eb commit b4a70ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion App.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default class App extends React.Component {
var max = 64
var text = this.state.typing
while (text.length > max) {
var lastBreak = text.lastIndexOf(' ')
var lastBreak = text.lastIndexOf(' ', max - 1)
var next = lastBreak + 1
if (lastBreak < 0) {
lastBreak = max
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"expo": {
"name": "Urbit Mobile Talk",
"icon": "./icon.png",
"version": "0.3.0",
"version": "0.3.1",
"slug": "urbit-mobile-talk",
"sdkVersion": "20.0.0",
"ios": {
Expand Down

0 comments on commit b4a70ef

Please sign in to comment.