更改部分 UI 下的状态栏表现
This commit is contained in:
@@ -52,7 +52,7 @@ class MainActivity : ComponentActivity() {
|
||||
super.onCreate(savedInstanceState)
|
||||
WindowCompat.setDecorFitsSystemWindows(window, false)
|
||||
if (!Places.isInitialized()) {
|
||||
Places.initialize(applicationContext,"AIzaSyDpgLDH1-SECw_pdjJq_msynq1XrxwgKVI")
|
||||
Places.initialize(applicationContext, "AIzaSyDpgLDH1-SECw_pdjJq_msynq1XrxwgKVI")
|
||||
}
|
||||
enableEdgeToEdge()
|
||||
setContent {
|
||||
@@ -142,32 +142,19 @@ fun NavigationController(navController: NavHostController) {
|
||||
}
|
||||
}
|
||||
composable(route = "Comments") {
|
||||
Box(
|
||||
modifier = Modifier.padding(navigationBarHeight)
|
||||
) {
|
||||
CommentsScreen()
|
||||
}
|
||||
CommentsScreen()
|
||||
}
|
||||
composable(route = "Likes") {
|
||||
Box(
|
||||
modifier = Modifier.padding(navigationBarHeight)
|
||||
) {
|
||||
LikePage()
|
||||
}
|
||||
LikePage()
|
||||
}
|
||||
composable(route = "Followers") {
|
||||
Box(
|
||||
modifier = Modifier.padding()
|
||||
) {
|
||||
FollowerPage()
|
||||
}
|
||||
|
||||
FollowerPage()
|
||||
}
|
||||
composable(route = "NewPost") {
|
||||
Box(
|
||||
modifier = Modifier.padding(navigationBarHeight, top = 64.dp)
|
||||
) {
|
||||
|
||||
NewPostScreen()
|
||||
}
|
||||
|
||||
}
|
||||
composable(route = "EditModification") {
|
||||
Box(
|
||||
|
||||
Reference in New Issue
Block a user