fixed typo

This commit is contained in:
Marcin Jedyński 2018-09-28 02:47:39 +02:00
parent d294f97a49
commit 4bbd4f65db

View File

@ -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