PM-13300 Adjust size and padding modifier order where needed. (#4050)

This commit is contained in:
Dave Severns 2024-10-08 14:18:44 -04:00 committed by GitHub
parent b5658fda42
commit 5e7dc26837
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -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))

View file

@ -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()