fix: 传输页补充返回按键
This commit is contained in:
@@ -13,8 +13,8 @@ android {
|
||||
applicationId = "com.smbfast.app"
|
||||
minSdk = 26
|
||||
targetSdk = 35
|
||||
versionCode = 22
|
||||
versionName = "1.19.1"
|
||||
versionCode = 23
|
||||
versionName = "1.19.2"
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
|
||||
@@ -17,6 +17,7 @@ import androidx.compose.foundation.lazy.LazyColumn
|
||||
import androidx.compose.foundation.lazy.items
|
||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||
import androidx.compose.material.icons.Icons
|
||||
import androidx.compose.material.icons.automirrored.filled.ArrowBack
|
||||
import androidx.compose.material.icons.filled.Close
|
||||
import androidx.compose.material.icons.filled.Download
|
||||
import androidx.compose.material.icons.filled.OpenInNew
|
||||
@@ -87,9 +88,18 @@ fun TransfersScreen(vm: AppViewModel) {
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = Color.Transparent,
|
||||
titleContentColor = Color.White,
|
||||
navigationIconContentColor = Color.White,
|
||||
actionIconContentColor = Color.White.copy(alpha = 0.85f),
|
||||
),
|
||||
title = { GradientText("传输", fontSize = 24) },
|
||||
navigationIcon = {
|
||||
IconButton(onClick = { vm.goBack() }) {
|
||||
Icon(
|
||||
Icons.AutoMirrored.Filled.ArrowBack,
|
||||
contentDescription = "返回",
|
||||
)
|
||||
}
|
||||
},
|
||||
actions = {
|
||||
TextButton(onClick = { vm.transferManager.clearFinished() }) {
|
||||
Text("清除已完成", color = Neon.TextDim)
|
||||
|
||||
Reference in New Issue
Block a user