Hide Keyboard after tag creation. Fixes #498

This commit is contained in:
Phillip Thelen 2016-04-12 17:25:01 +02:00
parent 5000ab8d78
commit 732679708e

View file

@ -382,9 +382,9 @@ public class TasksFragment extends BaseMainFragment implements OnCheckedChangeLi
@Subscribe
public void onEvent(final CreateTagCommand event) {
UiUtils.dismissKeyboard(activity);
final Tag t = new Tag();
t.setName(event.tagName);
if (mAPIHelper != null) {
mAPIHelper.apiService.createTag(t, new Callback<List<Tag>>() {
@Override