Skip to content

Commit

Permalink
Merge pull request #229 from TeamDATEROAD/chore-point-history-empty-view
Browse files Browse the repository at this point in the history
[chore] 포인트 내역 (PointHistory) 뷰 엠티뷰 이미지 변경
  • Loading branch information
jihyunniiii authored Sep 1, 2024
2 parents 461f067 + 65e716d commit 7125ddc
Show file tree
Hide file tree
Showing 7 changed files with 176 additions and 122 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ enum class EmptyViewType(
) {
POINT_HISTORY_GAINED_HISTORY(
titleRes = R.string.empty_view_point_history_earn_history,
imageRes = R.drawable.ic_empty_point_history_plus
imageRes = R.drawable.img_empty_point_history_gained_history
),
POINT_HISTORY_USED_HISTORY(
titleRes = R.string.empty_view_point_history_usage_history,
imageRes = R.drawable.ic_empty_point_history_minus
imageRes = R.drawable.img_empty_point_history_used_history
),
READ(
titleRes = R.string.empty_view_read,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fun DateRoadEmptyView(
.fillMaxWidth()
.padding(horizontal = 20.dp),
text = stringResource(id = emptyViewType.titleRes),
color = DateRoadTheme.colors.gray500,
color = DateRoadTheme.colors.gray300,
style = DateRoadTheme.typography.titleBold18,
textAlign = TextAlign.Center
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import androidx.compose.foundation.lazy.items
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalLifecycleOwner
import androidx.compose.ui.res.stringResource
Expand Down Expand Up @@ -107,7 +108,8 @@ fun MyCourseScreen(
item {
Box(
modifier = Modifier
.fillParentMaxSize()
.fillParentMaxSize(),
contentAlignment = Alignment.Center
) {
DateRoadEmptyView(
emptyViewType = when (myCourseUiState.myCourseType) {
Expand Down
59 changes: 0 additions & 59 deletions app/src/main/res/drawable/ic_empty_point_history_minus.xml

This file was deleted.

Loading

0 comments on commit 7125ddc

Please sign in to comment.