From b0c9367ccb8000adea5e360a45203d497ec1673a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Saleniuk?= <30429749+saleniuk@users.noreply.github.com> Date: Thu, 23 May 2024 10:16:21 +0200 Subject: [PATCH] fix: top bar not centered when on-premises backend is visible [WPB-9383] (#3028) --- .../kotlin/com/wire/android/ui/authentication/ServerTitle.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/kotlin/com/wire/android/ui/authentication/ServerTitle.kt b/app/src/main/kotlin/com/wire/android/ui/authentication/ServerTitle.kt index d8524960afe..9914edac144 100644 --- a/app/src/main/kotlin/com/wire/android/ui/authentication/ServerTitle.kt +++ b/app/src/main/kotlin/com/wire/android/ui/authentication/ServerTitle.kt @@ -18,7 +18,6 @@ package com.wire.android.ui.authentication -import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.material3.Icon @@ -62,7 +61,6 @@ fun ServerTitle( ConstraintLayout( modifier = Modifier .padding(horizontal = dimensions().spacing32x) - .fillMaxWidth() .then(modifier) ) { val (serverTitle, infoIcon) = createRefs()