Skip to content

Commit

Permalink
Nav label
Browse files Browse the repository at this point in the history
  • Loading branch information
boswelja committed Nov 14, 2024
1 parent 54e8345 commit 77de0e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import androidx.compose.foundation.layout.displayCutout
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.navigationBars
import androidx.compose.foundation.layout.navigationBarsPadding
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.AccountCircle
import androidx.compose.material3.Icon
import androidx.compose.material3.NavigationBar
import androidx.compose.material3.NavigationBarItem
Expand Down Expand Up @@ -86,9 +84,9 @@ enum class NavigationBarPaths(
it.destination.hierarchy.any { it.hasRoute(com.imashnake.animite.social.Social::class) }
},
icon = {
Icon(ImageVector.vectorResource(R.drawable.social), contentDescription = stringResource(R.string.rslash))
Icon(ImageVector.vectorResource(R.drawable.social), contentDescription = stringResource(R.string.social))
},
labelRes = R.string.rslash
labelRes = R.string.social
),
Home(
navigateTo = {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<string name="app_name">Animite</string>
<string name="home">Home</string>
<string name="profile">Profile</string>
<string name="rslash">r/</string>
<string name="social">Social</string>

<!-- Home -->
<string name="okaeri" translatable="false">おかえり</string>
Expand Down

0 comments on commit 77de0e6

Please sign in to comment.