AiursoftWeb / Infrastructures

Mirror of: https://gitlab.aiursoft.cn/aiursoft/infrastructures
https://www.aiursoft.com
MIT License
112 stars 32 forks source link

The app doesn't work without a bio input. #37

Closed BigSnow1 closed 6 years ago

BigSnow1 commented 6 years ago

When a new user sign in kahla for the first time,he or she doesn't have a bio in profile settings.If she enter the profile settings page and doesn't input anything in the bio,the app crash when she click the save button.There are two ways for her to choose.On the one hand,if she enters two blankspaces in the bio,the app can work when she click the save button.But,it won't be really save in the server,so next time she enter this page,it still display the placeholder in the bio.On the other hand,she can choose to input some words in the bio,and of course,the app work.But when she want to clear the bio next time,it will still display the old bio.

BigSnow1 commented 6 years ago

The nickName input also face this problem.

Anduin2017 commented 6 years ago

Your description you input contains several grammar mistakes.

Fixed version:

When a new user signs in Kahla for the first time, he or she doesn't have a bio in profile settings.If she enters the profile settings page and doesn't input anything in the bio, the app crash when she clicks the save button.There are two ways for her to choose.On the one hand, if she enters two blank spaces in the bio, the app can work when she click the save button.But, it won't be really saved on the server, so next time she enters this page, it still displays the placeholder in the bio.On the other hand, she can choose to input some words in the bio, and of course, the app work.But when she wants to clear the bio next time, it will still display the old bio.

Anduin2017 commented 6 years ago

That was a good issue and I'll fix it.