mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 10:37:05 +05:30
android: import app_name
string from common
This commit is contained in:
parent
fe1163be51
commit
65e9463ca5
3 changed files with 5 additions and 1 deletions
|
@ -120,7 +120,7 @@ fun LobstersApp(
|
||||||
},
|
},
|
||||||
title = {
|
title = {
|
||||||
if (navItems.any { it.route == currentDestination }) {
|
if (navItems.any { it.route == currentDestination }) {
|
||||||
Text(text = stringResource(commonR.string.app_name), fontWeight = FontWeight.Bold)
|
Text(text = stringResource(R.string.app_name), fontWeight = FontWeight.Bold)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
4
android/src/main/res/values/strings.xml
Normal file
4
android/src/main/res/values/strings.xml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<resources>
|
||||||
|
<string name="app_name">Claw</string>
|
||||||
|
</resources>
|
Loading…
Add table
Add a link
Reference in a new issue