fix: use CommonsR for napplet_untitled after resource move to commons

The string moved to commons/src/androidMain/res/values/strings.xml
in the upstream merge; update the two remaining call sites.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013hTFpoExYYLYEGGtXBx6ZT
This commit is contained in:
Claude
2026-06-27 22:58:52 +00:00
parent d05247541d
commit 343263cb2c
2 changed files with 4 additions and 2 deletions
@@ -80,6 +80,7 @@ import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import com.vitorpamplona.amethyst.commons.R as CommonsR
private data class ConnectedAppDetailState(
val title: String,
@@ -99,7 +100,7 @@ fun ConnectedAppDetailScreen(
val context = LocalContext.current
val capabilityLedger = remember { NappletPermissionLedger(DataStoreNappletPermissionStore(context)) }
val signerLedger = remember { NostrSignerPermissionLedger(DataStoreNostrSignerPermissionStore(context)) }
val untitled = stringResource(R.string.napplet_untitled)
val untitled = stringResource(CommonsR.string.napplet_untitled)
var state by remember { mutableStateOf<ConnectedAppDetailState?>(null) }
var reload by remember { mutableIntStateOf(0) }
@@ -69,6 +69,7 @@ import com.vitorpamplona.amethyst.ui.navigation.topbars.TopBarWithBackButton
import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import com.vitorpamplona.amethyst.commons.R as CommonsR
private data class ConnectedAppEntry(
val coordinate: String,
@@ -87,7 +88,7 @@ fun ConnectedAppsScreen(
val context = LocalContext.current
val capabilityLedger = remember { NappletPermissionLedger(DataStoreNappletPermissionStore(context)) }
val signerLedger = remember { NostrSignerPermissionLedger(DataStoreNostrSignerPermissionStore(context)) }
val untitled = stringResource(R.string.napplet_untitled)
val untitled = stringResource(CommonsR.string.napplet_untitled)
var items by remember { mutableStateOf<List<ConnectedAppEntry>?>(null) }
var reload by remember { mutableIntStateOf(0) }