ui: use 'tlpub' prefix for Tailnet lock key

Fixes tailscale/tailscale#11708
Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari/tlpub
kari-ts 2 weeks ago
parent 56da7b66d0
commit 56688573eb

@ -44,6 +44,7 @@ fun TailnetLockSetupView(
val statusItems = model.statusItems.collectAsState().value
val nodeKey = model.nodeKey.collectAsState().value
val tailnetLockKey = model.tailnetLockKey.collectAsState().value
val tailnetLockTlPubKey = tailnetLockKey.replace("nlpub", "tlpub")
Scaffold(topBar = { Header(R.string.tailnet_lock, onBack = backToSettings) }) { innerPadding ->
LoadingIndicator.Wrap {
@ -76,7 +77,7 @@ fun TailnetLockSetupView(
Lists.SectionDivider()
ClipboardValueView(
value = tailnetLockKey,
value = tailnetLockTlPubKey,
title = stringResource(R.string.tailnet_lock_key),
subtitle = stringResource(R.string.tailnet_lock_key_explainer))
}

Loading…
Cancel
Save