Revert "Фикс: кнопка Install Update растягивалась на весь экран"
This reverts commit 200d6987eb.
This commit is contained in:
@@ -1289,7 +1289,7 @@ fun ChatsListScreen(
|
||||
}
|
||||
|
||||
if (showUpdateBanner) {
|
||||
Row(
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.height(50.dp)
|
||||
@@ -1311,7 +1311,12 @@ fun ChatsListScreen(
|
||||
UpdateManager.downloadAndInstall(context)
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
},
|
||||
contentAlignment = Alignment.CenterStart
|
||||
) {
|
||||
Row(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
@@ -1359,6 +1364,8 @@ fun ChatsListScreen(
|
||||
}
|
||||
}
|
||||
}
|
||||
Spacer(modifier = Modifier.height(12.dp))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user