Conversation
gaeulzzang
approved these changes
Nov 11, 2024
Comment on lines
36
to
51
| val navController = rememberNavController() | ||
|
|
||
| // NavHost 설정 | ||
| NavHost( | ||
| navController = navController, | ||
| startDestination = if (isLoggedIn) "main" else "login" // 자동 로그인 여부에 따라 시작 화면 설정 | ||
| ) { | ||
| composable("login") { | ||
| LoginPage(navController) | ||
| LoginPage(navController, mainViewModel) | ||
| } | ||
| composable("profile") { | ||
| ProfileScreen(navController) | ||
| composable("main") { | ||
| ProfileScreen(navController, mainViewModel) | ||
| } | ||
| composable("user") { | ||
| UserScreen(navController) | ||
| UserScreen(navController, mainViewModel) | ||
| } | ||
| composable("userCreate") { | ||
| UserCreateScreen(navController) |
Contributor
There was a problem hiding this comment.
이 코드 바깥을 GDGAndroidTheme으로 감싸야 테마가 적용될거에요!!
Contributor
Author
There was a problem hiding this comment.
이 코드 바깥을 GDGAndroidTheme으로 감싸야 테마가 적용될거에요!!
헉 그렇군요 !!
Contributor
Author
There was a problem hiding this comment.
직접 그리신건가요?ㅋㅋㅋㅋㅋㅋㅋ
아뇨 ㅋㅋㅋㅋㅋㅋㅋ 퍼왔습니다 ㅋㅋㅋㅋ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ 𝗖𝗵𝗲𝗰𝗸-𝗟𝗶𝘀𝘁
📌 𝗜𝘀𝘀𝘂𝗲𝘀
📎 𝗪𝗼𝗿𝗸 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻
📷 𝗦𝗰𝗿𝗲𝗲𝗻𝘀𝗵𝗼𝘁
Screen_recording_20241111_204548.webm
💬 𝗧𝗼 𝗥𝗲𝘃𝗶𝗲𝘄𝗲𝗿𝘀
테마 컬러 변경했는데 왜 적용이 안되는지 모르겠습니다 ㅠ.ㅠ 어디가 문제인걸까요?