ccomeaux / boardgamegeek4android

BoardGameGeek application for Android (unofficial)
GNU General Public License v3.0
228 stars 47 forks source link

Creating // Editing a user's 'Name' does not trim off trailing spaces #49

Closed pvince closed 9 years ago

pvince commented 9 years ago

I noticed in my "Players" I have the same user apparently showing up twice: "John Smith" "John Smith "

Apparently my keyboard has added a " " character after I finish typing a number of times and this has led me to have two different entries. Trimming off trailing & leading whitespace before saving the user's name could resolve this issue.

I can manually fix the issue by editing the player and removing the trailing whitespace, but it would be nice if when I entered the names it auto-trimmed whitespace.

ccomeaux commented 9 years ago

All fields while logging plays and players are trimmed. You could have added the space through the website or an older version of the app. I will update the renaming form to trim as well.

ccomeaux commented 9 years ago

Fixed back in 5.1