Skip to content

Commit

Permalink
[fix/#21] horizontal pager tab 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
imtaejugkim committed Jan 18, 2025
1 parent 9871fe4 commit 8ce06fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import org.memento.presentation.util.changeHexToColor
import org.memento.presentation.util.noRippleClickable
import org.memento.ui.theme.MementoTheme
import org.memento.ui.theme.darkModeColors
import org.memento.ui.theme.mementoColors

@Composable
fun MementoTagBottomSheetItem(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import androidx.compose.foundation.layout.size
import androidx.compose.foundation.pager.HorizontalPager
import androidx.compose.foundation.pager.rememberPagerState
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material3.Icon
import androidx.compose.runtime.Composable
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Alignment
Expand Down Expand Up @@ -72,9 +73,10 @@ fun MainPlusBottomSheet(
},
contentAlignment = Alignment.Center,
) {
Image(
Icon(
painter = painterResource(image),
contentDescription = "탭 아이콘",
tint = if(isSelected) darkModeColors.gray02 else darkModeColors.gray07,
)
}
}
Expand Down

0 comments on commit 8ce06fa

Please sign in to comment.