mirror of
https://github.com/amir1376/ab-download-manager.git
synced 2025-02-20 11:43:24 +08:00
improve home page ui (#340)
This commit is contained in:
parent
f106c9b702
commit
030550fc47
@ -245,7 +245,7 @@ fun HomePage(component: HomeComponent) {
|
||||
Row(
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
) {
|
||||
Spacer(Modifier.size(8.dp))
|
||||
Spacer(Modifier.size(4.dp))
|
||||
AddUrlButton {
|
||||
component.requestAddNewDownload()
|
||||
}
|
||||
|
@ -169,7 +169,7 @@ fun DownloadList(
|
||||
)
|
||||
) {
|
||||
WithContentAlpha(1f) {
|
||||
val shape = RoundedCornerShape(12.dp)
|
||||
val shape = RoundedCornerShape(6.dp)
|
||||
Box(
|
||||
Modifier
|
||||
.widthIn(min = getTableSize().visibleWidth)
|
||||
@ -228,7 +228,7 @@ fun DownloadList(
|
||||
myColors.selectionGradient(0.10f, 0.05f, selectionColor),
|
||||
shape
|
||||
)
|
||||
.background(myColors.selectionGradient(0.15f, 0f, selectionColor))
|
||||
.background(myColors.selectionGradient(0.15f, 0.03f, selectionColor))
|
||||
} else {
|
||||
it.border(1.dp, Color.Transparent)
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ fun SearchBox(
|
||||
placeholder: String = myStringResource(Res.string.search_in_the_list),
|
||||
modifier: Modifier,
|
||||
) {
|
||||
val shape = RoundedCornerShape(12.dp)
|
||||
val shape = RoundedCornerShape(6.dp)
|
||||
val textSize = myTextSizes.base
|
||||
MyTextField(
|
||||
text = text,
|
||||
|
@ -22,7 +22,7 @@ fun AddUrlButton(
|
||||
modifier: Modifier=Modifier,
|
||||
onClick:()->Unit
|
||||
) {
|
||||
val shape = RoundedCornerShape(12.dp)
|
||||
val shape = RoundedCornerShape(6.dp)
|
||||
val addUrlIcon = MyIcons.link
|
||||
val downloadIcon = MyIcons.download
|
||||
Row(
|
||||
|
Loading…
x
Reference in New Issue
Block a user