fixed typo
This commit is contained in:
parent
d294f97a49
commit
4bbd4f65db
@ -13,17 +13,17 @@ public class StartupActivity extends AppCompatActivity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
//uncomment for testin settings activity and comment the rest of onCreate body
|
||||
// startActivity(new Intent(this, SettingsActivity.class));
|
||||
startActivity(new Intent(this, SettingsActivity.class));
|
||||
|
||||
if (isLoggedIn()){
|
||||
/* if (isLoggedIn()){
|
||||
Intent startupIntent = new Intent(this, MainActivity.class);
|
||||
startupIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
startActivity(startupIntent);gi
|
||||
startActivity(startupIntent);
|
||||
finish();
|
||||
} else {
|
||||
Intent loginIntent = new Intent(this, LoginActivity.class);
|
||||
startActivityForResult(loginIntent, AUTHENTICATION_REQUEST_CODE);
|
||||
}
|
||||
}*/
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
//to nie ma miec layoutu wiec elo
|
||||
|
Loading…
Reference in New Issue
Block a user