fix: fix wrong getChannelUrl() call causing loss of "add" flag and un… (#4809)

This commit is contained in:
Alexey Skobkin 2026-03-16 17:03:17 +03:00 committed by GitHub
parent 5edb8abd05
commit 80cae8e620
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -302,7 +302,7 @@ private const val QR_CODE_SIZE = 960
@Composable
private fun ChannelShareDialog(channelSet: ChannelSet, shouldAddChannel: Boolean, onDismiss: () -> Unit) {
val commonUri = channelSet.getChannelUrl(shouldAddChannel)
val commonUri = channelSet.getChannelUrl(false, shouldAddChannel)
val uriString = commonUri.toString()
val qrCode = remember(uriString) { generateQrCode(uriString, QR_CODE_SIZE) }
QrDialog(