From 0cbc46dd82034168dd1d38e65371bfa43792b27a Mon Sep 17 00:00:00 2001 From: Milan Cerovsky Date: Tue, 4 Feb 2025 18:53:42 +0100 Subject: [PATCH] Code cleanup Closes #1731 --- .../co/electriccoin/zcash/ui/design/component/ZashiQr.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ui-design-lib/src/main/java/co/electriccoin/zcash/ui/design/component/ZashiQr.kt b/ui-design-lib/src/main/java/co/electriccoin/zcash/ui/design/component/ZashiQr.kt index 94032a6f4..0eca825a3 100644 --- a/ui-design-lib/src/main/java/co/electriccoin/zcash/ui/design/component/ZashiQr.kt +++ b/ui-design-lib/src/main/java/co/electriccoin/zcash/ui/design/component/ZashiQr.kt @@ -69,7 +69,6 @@ fun ZashiQr( qrSize = qrSize, enableBitmapReload = !isFullscreenDialogVisible, centerImageResId = state.centerImageResId, - tag = "kktina 1" ) if (isFullscreenDialogVisible) { @@ -106,12 +105,10 @@ private fun ZashiQrInternal( contentPadding: PaddingValues, enableBitmapReload: Boolean, centerImageResId: Int?, - tag: String, modifier: Modifier = Modifier, ) { val qrSizePx = with(LocalDensity.current) { qrSize.roundToPx() } var bitmap: ImageBitmap? by remember { - Log.d(tag, "loaded") mutableStateOf(getQrCode(state.qrData, qrSizePx, colors)) } @@ -120,7 +117,6 @@ private fun ZashiQrInternal( LaunchedEffect(state.qrData, qrSizePx, colors) { if (enableBitmapReload && reload) { bitmap = getQrCode(state.qrData, qrSizePx, colors) - Log.d(tag, "launchedeffect") } reload = true @@ -193,7 +189,6 @@ private fun FullscreenDialogContent( qrSize = LocalConfiguration.current.screenWidthDp.dp - 44.dp, enableBitmapReload = true, centerImageResId = state.fullscreenCenterImageResId, - tag = "kktina 2" ) } }