Skip to content
Snippets Groups Projects
Commit 9b01b43e authored by George Muresan's avatar George Muresan
Browse files

Merge branches 'master' and 'withoutbit' of...

Merge branches 'master' and 'withoutbit' of https://github.com/georgemuresan/Internship into withoutbit

# Conflicts:
#	.idea/caches/build_file_checksums.ser
#	app/src/main/res/layout/activity_first_page_consent.xml
parent ccb17036
No related branches found
No related tags found
No related merge requests found
...@@ -147,12 +147,14 @@ public class FirstPage extends AppCompatActivity { ...@@ -147,12 +147,14 @@ public class FirstPage extends AppCompatActivity {
if (!isFirstRun && consent.isChecked() && bitmoji.isChecked() && !nameBox.getText().toString().equals("") && !participantID.getText().toString().equals("")) { if (!isFirstRun && consent.isChecked() && bitmoji.isChecked() && !nameBox.getText().toString().equals("") && !participantID.getText().toString().equals("")) {
//show start activity //show start activity
getSharedPreferences("PREFERENCE", MODE_PRIVATE).edit()
.putBoolean("isFirstRun", false).apply();
startActivity(new Intent(this, MainMenu.class)); startActivity(new Intent(this, MainMenu.class));
} }
getSharedPreferences("PREFERENCE", MODE_PRIVATE).edit()
.putBoolean("isFirstRun", false).apply();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment