Skip to content

Commit

Permalink
Merge pull request #28 from azrael8576/refactor/navigation-component
Browse files Browse the repository at this point in the history
Style add navigation text string res for chinese
  • Loading branch information
azrael8576 authored Oct 11, 2023
2 parents d952c2d + 323a9ff commit f7d774e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<resources>
<string name="app_name">Amazing Talker</string>
<string name="not_connected">⚠️ 您沒有網路連線</string>
<string name="schedule">Schedule</string>
<string name="home">Home</string>
<string name="contact_me">Contact Me</string>
<string name="schedule">行事曆</string>
<string name="home">首頁</string>
<string name="contact_me">聯絡我</string>

</resources>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -224,18 +224,18 @@ internal fun ContactMeTwoPaneSecondContent(
if (withTopSpacer) {
item {
Spacer(Modifier.windowInsetsTopHeight(WindowInsets.safeDrawing))
Spacer(modifier = Modifier.height(16.dp))
}
}
item {
Spacer(modifier = Modifier.height(8.dp))
ContactMeCard(
uiStates = uiStates,
onPhoneClick = onPhoneClick,
)
Spacer(modifier = Modifier.height(8.dp))
}
if (withBottomSpacer) {
item {
Spacer(modifier = Modifier.height(16.dp))
Spacer(Modifier.windowInsetsBottomHeight(WindowInsets.safeDrawing))
}
}
Expand All @@ -259,6 +259,7 @@ internal fun ContactMeSinglePaneContent(
if (withTopSpacer) {
item {
Spacer(Modifier.windowInsetsTopHeight(WindowInsets.safeDrawing))
Spacer(modifier = Modifier.height(16.dp))
}
}
item {
Expand All @@ -279,10 +280,10 @@ internal fun ContactMeSinglePaneContent(
uiStates = uiStates,
onPhoneClick = onPhoneClick,
)
Spacer(modifier = Modifier.height(8.dp))
}
if (withBottomSpacer) {
item {
Spacer(modifier = Modifier.height(16.dp))
Spacer(Modifier.windowInsetsBottomHeight(WindowInsets.safeDrawing))
}
}
Expand Down

0 comments on commit f7d774e

Please sign in to comment.