This repository was archived by the owner on Aug 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
screenshotTests/roborazzi
src/main/kotlin/com/gravatar/app/homeUi/presentation/home/share/components Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ import com.gravatar.app.homeUi.R
3434import com.gravatar.app.homeUi.presentation.home.components.BlurredHeaderBackground
3535import com.gravatar.app.homeUi.presentation.home.components.topbar.TopBarPickerPopup
3636import com.gravatar.app.homeUi.presentation.home.profile.header.MENU_BUTTON_SIZE
37+ import io.github.alexzhirkevich.qrose.options.QrBallShape
38+ import io.github.alexzhirkevich.qrose.options.QrFrameShape
39+ import io.github.alexzhirkevich.qrose.options.QrPixelShape
40+ import io.github.alexzhirkevich.qrose.options.roundCorners
3741import io.github.alexzhirkevich.qrose.rememberQrCodePainter
3842
3943@Composable
@@ -43,7 +47,13 @@ internal fun ShareHeader(
4347 modifier : Modifier = Modifier ,
4448) {
4549 var topBarMenuVisible by remember { mutableStateOf(false ) }
46- val qrcodePainter: Painter = rememberQrCodePainter(vCardQrCodeData)
50+ val qrcodePainter: Painter = rememberQrCodePainter(vCardQrCodeData) {
51+ shapes {
52+ ball = QrBallShape .roundCorners(.30f )
53+ darkPixel = QrPixelShape .roundCorners()
54+ frame = QrFrameShape .roundCorners(.15f )
55+ }
56+ }
4757
4858 BlurredHeaderBackground (
4959 avatarUrl = avatarUrl,
You can’t perform that action at this time.
0 commit comments