Revert "Фикс: кнопка Install Update растягивалась на весь экран"

This reverts commit 200d6987eb.
This commit is contained in:
2026-03-17 18:14:55 +07:00
parent 200d6987eb
commit a3fdc9559b

View File

@@ -1289,7 +1289,7 @@ fun ChatsListScreen(
} }
if (showUpdateBanner) { if (showUpdateBanner) {
Row( Box(
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.height(50.dp) .height(50.dp)
@@ -1311,7 +1311,12 @@ fun ChatsListScreen(
UpdateManager.downloadAndInstall(context) UpdateManager.downloadAndInstall(context)
else -> {} else -> {}
} }
} },
contentAlignment = Alignment.CenterStart
) {
Row(
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = 16.dp), .padding(horizontal = 16.dp),
verticalAlignment = Alignment.CenterVertically verticalAlignment = Alignment.CenterVertically
) { ) {
@@ -1359,6 +1364,8 @@ fun ChatsListScreen(
} }
} }
} }
Spacer(modifier = Modifier.height(12.dp))
}
} }
} }
} }