Skip to content

[fix] Splash 화면 낮은 API에서 실행시 발생하던 오류 수정(+ 탈퇴하기 버튼 위치 이동)#287

Merged
dpcks0509 merged 5 commits intodevelopfrom
feat/splash
Mar 20, 2025
Merged

[fix] Splash 화면 낮은 API에서 실행시 발생하던 오류 수정(+ 탈퇴하기 버튼 위치 이동)#287
dpcks0509 merged 5 commits intodevelopfrom
feat/splash

Conversation

@dpcks0509
Copy link
Contributor

Related issue 🛠

Work Description ✏️

  • Splash 화면 낮은 API에서 실행시 발생하던 오류 수정
  • 탈퇴하기 버튼 위치 왼쪽으로 이동

Screenshot 📸

Uncompleted Tasks 😅

  • N/A

To Reviewers 📢

  • N/A

@dpcks0509 dpcks0509 requested a review from jinuemong March 19, 2025 01:56
@dpcks0509 dpcks0509 self-assigned this Mar 19, 2025
@dpcks0509 dpcks0509 requested a review from a team as a code owner March 19, 2025 01:56
import org.sopt.teamdateroad.presentation.ui.navigator.MainActivity
import org.sopt.teamdateroad.ui.theme.DATEROADTheme

class SplashActivity : ComponentActivity() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 꼭 액티비티 써야하나요? navigation으로 해도 될 것 같은데

</intent-filter>
</activity>

<!-- Main Activity -->

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

원 액티비티 유지하는게 좋아보이는데 어떻게 생각하시나요

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SingleActivity Architecture 유지되도록 수정했습니다!
https://youtu.be/eFZmMSm1G1c?si=4CbQB2DzPsBgDHq6
이 영상보면서 구현했던건데 지금으로서는 SingleActivitiy 유지 하는게 더 좋은 방법인 것 같네요.
인터넷 찾아보니까 Fragment로 하는 방법도 있고 하던데 추후에 더 찾아보고 더 좋은 방법 찾으면 적용해보겠습니다!

}
Spacer(modifier = Modifier.weight(1f))
DateRoadTextButton(
modifier = Modifier.align(Alignment.Start),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굿

fun SplashScreen() {
fun SplashScreen(onTimeout: () -> Unit) {
LaunchedEffect(Unit) {
delay(2000)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  companion object {
        const val SPLASH_SCREEN_DELAY = 2000L
    }

처럼 매직넘버 제거하면 좋을 것 가타요

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

매직넘버 제거했습니다~

Copy link

@jinuemong jinuemong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😃

@dpcks0509 dpcks0509 requested a review from jinuemong March 19, 2025 08:34
Copy link

@jinuemong jinuemong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굿

@dpcks0509 dpcks0509 merged commit 2e72910 into develop Mar 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[fix] Splash 화면 낮은 API에서 실행시 발생하던 오류 수정(+ 탈퇴하기 버튼 위치 이동)

2 participants