From 5e7dc26837fd240681e67b3e3f0e26e8fa28d727 Mon Sep 17 00:00:00 2001 From: Dave Severns <149429124+dseverns-livefront@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:18:44 -0400 Subject: [PATCH] PM-13300 Adjust size and padding modifier order where needed. (#4050) --- .../ui/platform/feature/search/SearchEmptyContent.kt | 4 ++-- .../bitwarden/ui/vault/feature/qrcodescan/QrCodeScanScreen.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/search/SearchEmptyContent.kt b/app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/search/SearchEmptyContent.kt index 3490bddcf..7dac4e039 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/search/SearchEmptyContent.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/search/SearchEmptyContent.kt @@ -38,8 +38,8 @@ fun SearchEmptyContent( contentDescription = null, tint = BitwardenTheme.colorScheme.icon.primary, modifier = Modifier - .size(74.dp) - .padding(horizontal = 16.dp), + .padding(horizontal = 16.dp) + .size(74.dp), ) Spacer(modifier = Modifier.height(24.dp)) diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/qrcodescan/QrCodeScanScreen.kt b/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/qrcodescan/QrCodeScanScreen.kt index 4046598e4..db4307cf1 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/qrcodescan/QrCodeScanScreen.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/qrcodescan/QrCodeScanScreen.kt @@ -325,8 +325,8 @@ private fun QrCodeSquare( ) { Canvas( modifier = Modifier - .size(squareOutlineSize) - .padding(8.dp), + .padding(8.dp) + .size(squareOutlineSize), ) { val strokeWidth = 3.dp.toPx()