|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
package org.tasks.compose
|
|
|
|
|
|
|
|
|
|
import androidx.annotation.IntegerRes
|
|
|
|
|
import androidx.annotation.StringRes
|
|
|
|
|
import androidx.compose.foundation.clickable
|
|
|
|
|
import androidx.compose.foundation.layout.fillMaxWidth
|
|
|
|
|
import androidx.compose.foundation.layout.padding
|
|
|
|
@ -12,7 +12,7 @@ import androidx.compose.ui.res.stringResource
|
|
|
|
|
import androidx.compose.ui.unit.dp
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
|
fun DialogRow(@IntegerRes text: Int, onClick: () -> Unit) {
|
|
|
|
|
fun DialogRow(@StringRes text: Int, onClick: () -> Unit) {
|
|
|
|
|
Text(
|
|
|
|
|
text = stringResource(id = text),
|
|
|
|
|
modifier = Modifier
|
|
|
|
|