Trim name before showing it.

This commit is contained in:
Felix Ableitner 2015-07-07 23:18:29 +02:00
parent b1bb4eb8b3
commit bee5e45093

View file

@ -38,7 +38,7 @@ class FirstStartActivity extends AppCompatActivity with OnEditorActionListener w
setContentView(R.layout.activity_first_start)
setTitle(R.string.welcome)
username.setText(BluetoothAdapter.getDefaultAdapter.getName)
username.setText(BluetoothAdapter.getDefaultAdapter.getName.trim)
username.setOnEditorActionListener(this)
done.setOnClickListener(this)