Skip to content

Commit

Permalink
chore: drawable 리소스 정리 (core/designsystem → feature/navigator)
Browse files Browse the repository at this point in the history
  • Loading branch information
syb8200 committed Jan 1, 2024
1 parent 099a25b commit 6b5f070
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ private fun LogoWithTwoIconsPreview(
SusuDefaultAppBar(
leftIcon = {
Image(
painter = painterResource(id = R.drawable.ic_received_filled),
painter = painterResource(id = R.drawable.ic_arrow_left),
contentDescription = "로고",
modifier = modifier.padding(clickPadding),
)
},
title = "타이틀",
actions = {
Icon(
painter = painterResource(id = R.drawable.ic_community_filled),
painter = painterResource(id = R.drawable.ic_arrow_left),
contentDescription = null,
modifier = modifier
.susuClickable(
Expand All @@ -100,7 +100,7 @@ private fun LogoWithTwoIconsPreview(
.padding(clickPadding),
)
Icon(
painter = painterResource(id = R.drawable.ic_my_page_filled),
painter = painterResource(id = R.drawable.ic_arrow_left),
contentDescription = null,
modifier = modifier
.susuClickable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.susu.feature.navigator

import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import com.susu.core.designsystem.R
import com.susu.feature.community.navigation.CommunityRoute
import com.susu.feature.mypage.navigation.MyPageRoute
import com.susu.feature.received.navigation.ReceivedRoute
Expand All @@ -18,31 +17,31 @@ enum class MainNavigationTab(
SENT(
selectedIconId = R.drawable.ic_sent_filled,
unselectedIconId = R.drawable.ic_sent_outlined,
labelId = com.susu.feature.navigator.R.string.bottom_navigation_item_label_sent,
labelId = R.string.bottom_navigation_item_label_sent,
route = SentRoute.route,
),
RECEIVED(
selectedIconId = R.drawable.ic_received_filled,
unselectedIconId = R.drawable.ic_received_outlined,
labelId = com.susu.feature.navigator.R.string.bottom_navigation_item_label_received,
labelId = R.string.bottom_navigation_item_label_received,
route = ReceivedRoute.route,
),
STATISTICS(
selectedIconId = R.drawable.ic_statistics_filled,
unselectedIconId = R.drawable.ic_statistics_outlined,
labelId = com.susu.feature.navigator.R.string.bottom_navigation_item_label_statistics,
labelId = R.string.bottom_navigation_item_label_statistics,
route = StatisticsRoute.route,
),
COMMUNITY(
selectedIconId = R.drawable.ic_community_filled,
unselectedIconId = R.drawable.ic_community_outlined,
labelId = com.susu.feature.navigator.R.string.bottom_navigation_item_label_community,
labelId = R.string.bottom_navigation_item_label_community,
route = CommunityRoute.route,
),
MY_PAGE(
selectedIconId = R.drawable.ic_my_page_filled,
unselectedIconId = R.drawable.ic_my_page_outlined,
labelId = com.susu.feature.navigator.R.string.bottom_navigation_item_label_my_page,
labelId = R.string.bottom_navigation_item_label_my_page,
route = MyPageRoute.route,
),
;
Expand Down

0 comments on commit 6b5f070

Please sign in to comment.