what about now

This commit is contained in:
IvanaE 2018-11-16 15:53:03 -05:00
parent cb06782c04
commit 04c895262e

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();