what about now

This commit is contained in:
IvanaE 2018-11-16 15:53:03 -05:00
parent 924bb3319e
commit b1910247c3

View file

@ -41,7 +41,8 @@ public class SignUpPart2 extends AppCompatActivity {
&& address.replaceAll("\\s+","").length()>0) { && address.replaceAll("\\s+","").length()>0) {
ServiceProvider serviceProvider = new ServiceProvider(username, password, firstname, lastname, ServiceProvider serviceProvider = new ServiceProvider(username, password, firstname, lastname,
address, phonenumber, companyname, licensed, description); address, phonenumber, companyname, licensed);
serviceProvider.setDescription(description);
if(dbHelper.addUser(serviceProvider)){ if(dbHelper.addUser(serviceProvider)){
startActivity(intent); startActivity(intent);
finish(); finish();