Skip to content

Commit

Permalink
[#28 feature] 리뷰 반영 resource 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahn-seokjoo committed Jun 26, 2024
1 parent 167d325 commit 7296991
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.mashup.dorabangs.core.designsystem.R
import com.mashup.dorabangs.core.designsystem.component.snackbar.doraiconarrow.DoraIconArrow
import com.mashup.dorabangs.core.designsystem.component.snackbar.doraiconarrow.RightArrow
import com.mashup.dorabangs.core.designsystem.component.snackbar.doraiconclose.CloseCircle
Expand Down Expand Up @@ -90,7 +92,7 @@ fun SnackBarContent(
verticalAlignment = Alignment.CenterVertically,
) {
Text(
text = "클립보드에 복사한 링크 저장",
text = stringResource(id = R.string.snack_bar_title),
maxLines = 2,
style = DoraTypoTokens.caption1Medium,
color = ClipBoardColorTokens.UrlLinkSubColor1,
Expand Down Expand Up @@ -119,7 +121,7 @@ fun SnackBarContent(
) {
Icon(
imageVector = DoraIconClose.CloseCircle,
contentDescription = "스낵바 취소",
contentDescription = stringResource(id = R.string.snack_bar_cancel_description),
tint = ClipBoardColorTokens.UrlLinkSubColor1,
)
}
Expand Down
2 changes: 2 additions & 0 deletions core/designsystem/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
<resources>
<string name="home">홈</string>
<string name="storage">보관함</string>
<string name="snack_bar_title">클립보드에 복사한 링크 저장</string>
<string name="snack_bar_cancel_description">스낵바 취소</string>
</resources>

0 comments on commit 7296991

Please sign in to comment.