File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
app/src/main/scala/com/waz/zclient/appentry Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import com.waz.zclient.newreg.views.PhoneConfirmationButton
3030import com .waz .zclient .pages .BaseFragment
3131import com .waz .zclient .ui .text .TypefaceEditText
3232import com .waz .zclient .ui .utils .KeyboardUtils
33- import com .waz .zclient .utils .StringUtils
3433
3534object PhoneSetNameFragment {
3635 val TAG = classOf [PhoneSetNameFragment ].getName
@@ -131,6 +130,6 @@ class PhoneSetNameFragment extends BaseFragment[PhoneSetNameFragment.Container]
131130 PhoneConfirmationButton .State .NONE
132131 }
133132
134- private def isNameValid (name : String ): Boolean = ! StringUtils .isBlank( name)
133+ private def isNameValid (name : String ): Boolean = name != null && name.trim.length > 1
135134
136135}
You can’t perform that action at this time.
0 commit comments