what about now
This commit is contained in:
parent
924bb3319e
commit
b1910247c3
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue