mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-10 05:08:18 -05:00
AddChannelActivity: trim channel
This commit is contained in:
parent
0fbe3d6156
commit
90dc061ff6
@ -88,7 +88,7 @@ public class AddChannelActivity extends Activity implements OnClickListener, OnI
|
|||||||
{
|
{
|
||||||
switch (v.getId()) {
|
switch (v.getId()) {
|
||||||
case R.id.add:
|
case R.id.add:
|
||||||
String channel = channelInput.getText().toString();
|
String channel = channelInput.getText().toString().trim();
|
||||||
channels.add(channel);
|
channels.add(channel);
|
||||||
adapter.add(channel);
|
adapter.add(channel);
|
||||||
channelInput.setText("#");
|
channelInput.setText("#");
|
||||||
|
Loading…
Reference in New Issue
Block a user