|
@@ -40,7 +40,7 @@ import com.owncloud.android.R
|
|
fun SimpleAlertDialog(
|
|
fun SimpleAlertDialog(
|
|
backgroundColor: Color,
|
|
backgroundColor: Color,
|
|
textColor: Color,
|
|
textColor: Color,
|
|
- titleId: Int,
|
|
|
|
|
|
+ title: String,
|
|
description: String?,
|
|
description: String?,
|
|
heightFraction: Float? = null,
|
|
heightFraction: Float? = null,
|
|
content: @Composable (() -> Unit)? = null,
|
|
content: @Composable (() -> Unit)? = null,
|
|
@@ -59,7 +59,7 @@ fun SimpleAlertDialog(
|
|
containerColor = backgroundColor,
|
|
containerColor = backgroundColor,
|
|
onDismissRequest = { dismiss() },
|
|
onDismissRequest = { dismiss() },
|
|
title = {
|
|
title = {
|
|
- Text(text = stringResource(id = titleId), color = textColor)
|
|
|
|
|
|
+ Text(text = title, color = textColor)
|
|
},
|
|
},
|
|
text = {
|
|
text = {
|
|
Column(modifier = modifier) {
|
|
Column(modifier = modifier) {
|