diff options
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) |
