diff options
| author | David Göransson <david.goransson@mullvad.net> | 2025-01-13 11:43:08 +0100 |
|---|---|---|
| committer | David Göransson <david.goransson@mullvad.net> | 2025-01-13 15:19:03 +0100 |
| commit | 03b894fb304b96d54cde5a7cd1c2e8ad5d2e59a3 (patch) | |
| tree | 90c5afd97fab2cc759f0aca4341ab2595bed1c2c /android/app/src | |
| parent | 650204703b7d820db9f3ad76ebd2c84d0cfc3f21 (diff) | |
| download | mullvadvpn-03b894fb304b96d54cde5a7cd1c2e8ad5d2e59a3.tar.xz mullvadvpn-03b894fb304b96d54cde5a7cd1c2e8ad5d2e59a3.zip | |
Fix constraint for banner
Diffstat (limited to 'android/app/src')
| -rw-r--r-- | android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/notificationbanner/NotificationBanner.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/notificationbanner/NotificationBanner.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/notificationbanner/NotificationBanner.kt index 90bdbca1be..f15a054b7d 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/notificationbanner/NotificationBanner.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/notificationbanner/NotificationBanner.kt @@ -172,13 +172,13 @@ private fun Notification(notificationBannerData: NotificationData) { start.linkTo(textTitle.start) if (action != null) { end.linkTo(actionIcon.start) - bottom.linkTo(actionIcon.bottom) + bottom.linkTo(parent.bottom) } else { end.linkTo(parent.end) bottom.linkTo(parent.bottom) } width = Dimension.fillToConstraints - height = Dimension.fillToConstraints + height = Dimension.wrapContent } .padding(start = Dimens.smallPadding, top = Dimens.tinyPadding) .wrapContentWidth(Alignment.Start) |
