1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 09:09:38 +02:00

Make FormField.Type an enum

This commit is contained in:
Florian Schmaus 2014-12-27 20:47:57 +01:00
parent 0c68d59ade
commit 755765120d
13 changed files with 178 additions and 146 deletions

View file

@ -388,7 +388,7 @@ public class Workgroup {
String value = metadata.get(name).toString();
FormField field = new FormField(name);
field.setType(FormField.TYPE_TEXT_SINGLE);
field.setType(FormField.Type.text_single);
form.addField(field);
form.setAnswer(name, value);
}