Skip to content

Commit

Permalink
#111 [UI] : string export
Browse files Browse the repository at this point in the history
  • Loading branch information
Eonji-sw committed Nov 24, 2024
1 parent fe301f9 commit 1bd1218
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ import androidx.compose.foundation.lazy.items
import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import androidx.hilt.navigation.compose.hiltViewModel
import com.teamwable.designsystem.theme.WableTheme
import com.teamwable.news.NewsViewModel
import com.teamwable.news.R
import com.teamwable.news.model.NewsInfoModel

@Composable
Expand Down Expand Up @@ -54,6 +57,11 @@ fun NewsNoticeScreen(
@Composable
fun NewsNoticeEmptyScreen() {
Box(modifier = Modifier.fillMaxSize()) {
Text(text = "아직 작성된 공지사항이 없어요.", color = WableTheme.colors.gray500, style = WableTheme.typography.body02)
Text(
modifier = Modifier.align(Alignment.Center),
text = stringResource(R.string.tv_news_notice_empty),
color = WableTheme.colors.gray500,
style = WableTheme.typography.body02
)
}
}
3 changes: 3 additions & 0 deletions feature/news/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@
<!-- fragment_news & fragment_news_notice -->
<string name="tv_news_tab_notice">공지사항</string>

<!-- fragment_news_notice -->
<string name="tv_news_notice_empty">아직 작성된 공지사항이 없어요.</string>

</resources>

0 comments on commit 1bd1218

Please sign in to comment.