Fix annotation

pull/1967/head
Alex Baker 2 years ago
parent 73adb86854
commit 2c45f0da94

@ -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

Loading…
Cancel
Save