up versions
This commit is contained in:
@@ -7,7 +7,7 @@ plugins {
|
||||
alias(libs.plugins.convention.ktor.client)
|
||||
}
|
||||
|
||||
val appVersion = "1.26.2"
|
||||
val appVersion = "1.26.4"
|
||||
|
||||
android {
|
||||
buildFeatures { buildConfig = true }
|
||||
|
||||
+3
-3
@@ -98,10 +98,10 @@ fun DefaultControls(
|
||||
.background(if (isUiLocked.value) Color.Transparent else Color.Black.copy(alpha = 0.4f))
|
||||
.safeDrawingPadding()
|
||||
) {
|
||||
Box(modifier = Modifier.align(Alignment.TopStart).padding(8.dp)) {
|
||||
BackButton { onBack() }
|
||||
}
|
||||
SideDoubleTapSeekZones(controller)
|
||||
Box(modifier = Modifier.align(Alignment.TopStart).padding(8.dp)) {
|
||||
BackButton(Color.White) { onBack() }
|
||||
}
|
||||
Row(modifier = Modifier.align(Alignment.TopEnd).focusGroup().padding(8.dp)) {
|
||||
if (audioTracksState.isNotEmpty() && !isUiLocked.value) {
|
||||
AudioTracksButton(
|
||||
|
||||
@@ -8,19 +8,24 @@ import androidx.compose.material3.IconButtonDefaults
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import org.jetbrains.compose.resources.painterResource
|
||||
import ru.shadowsparky.ui.theme.focusBorder
|
||||
|
||||
@Composable
|
||||
fun BackButton(doBack: () -> Unit) {
|
||||
fun BackButton(
|
||||
iconColor: Color = Color.Unspecified,
|
||||
doBack: () -> Unit
|
||||
) {
|
||||
IconButton(
|
||||
onClick = { doBack() },
|
||||
shape = CircleShape,
|
||||
colors = IconButtonDefaults.iconButtonVibrantColors(
|
||||
containerColor = MaterialTheme.colorScheme.primaryContainer.copy(
|
||||
0.1f
|
||||
)
|
||||
0.25f
|
||||
),
|
||||
contentColor = iconColor
|
||||
),
|
||||
modifier = Modifier.focusBorder(shape = CircleShape)
|
||||
) { Icon(painterResource(Res.drawable.back), contentDescription = null) }
|
||||
|
||||
Reference in New Issue
Block a user