Skip to content

Commit

Permalink
[FEATURE] #63 : Profile -> SignIn 넘어갈 때 BottomSheet Background 하얗게 보이…
Browse files Browse the repository at this point in the history
…던거 수정
  • Loading branch information
tgyuuAn committed Dec 23, 2023
1 parent 796eb8b commit 8eafa64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
6 changes: 2 additions & 4 deletions app/src/main/java/com/wap/wapp/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.wap.wapp
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
Expand Down Expand Up @@ -44,9 +43,8 @@ class MainActivity : ComponentActivity() {
val navController = rememberNavController()

Scaffold(
modifier = Modifier
.fillMaxSize()
.background(WappTheme.colors.backgroundBlack),
modifier = Modifier.fillMaxSize(),
containerColor = WappTheme.colors.backgroundBlack,
bottomBar = {
val navBackStackEntry by
navController.currentBackStackEntryAsState()
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/java/com/wap/wapp/component/WappBottomBar.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.slideInVertically
import androidx.compose.animation.slideOutVertically
import androidx.compose.animation.with
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.BottomNavigation
import androidx.compose.material.BottomNavigationItem
import androidx.compose.material.Icon
Expand Down Expand Up @@ -34,9 +32,6 @@ internal fun WappBottomBar(
slideInVertically { height -> height } with
slideOutVertically { height -> height }
},
modifier = Modifier
.fillMaxWidth()
.background(WappTheme.colors.backgroundBlack),
) { isVisible ->
if (isVisible) {
BottomNavigation(
Expand Down

0 comments on commit 8eafa64

Please sign in to comment.