android: import app_name string from common

This commit is contained in:
Harsh Shandilya 2022-04-06 12:50:09 +05:30
parent fe1163be51
commit 65e9463ca5
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 5 additions and 1 deletions

View file

@ -120,7 +120,7 @@ fun LobstersApp(
},
title = {
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)
}
},
)

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<string name="app_name">Claw</string>
</resources>