Skip to content

Commit

Permalink
[Delete] 불필요한 activity 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
gaeun5744 committed Jun 1, 2023
1 parent efe5ea6 commit 223fabc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 50 deletions.
3 changes: 0 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
android:name=".MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustPan"></activity>
<activity
android:name=".present.loginPage.IntroduceActivity"
android:exported="false" />
<activity
android:name=".present.loginPage.LoginActivity"
android:exported="true">
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class LoginActivity : AppCompatActivity() {

private fun alreadyLogin() {
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK or FLAG_ACTIVITY_NEW_TASK)
val intent = Intent(this, IntroduceActivity::class.java)
val intent = Intent(this, MainActivity::class.java)
intent.putExtra("name", MySharedPreferences.getUserName(this))
intent.putExtra("speciality", MySharedPreferences.getUserSpec(this))
startActivity(intent)
Expand Down

0 comments on commit 223fabc

Please sign in to comment.