From 2c45f0da948cda33a53a69250c08a9fead91b808 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Sat, 20 Aug 2022 12:51:03 -0500 Subject: [PATCH] Fix annotation --- app/src/main/java/org/tasks/compose/DialogRow.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/tasks/compose/DialogRow.kt b/app/src/main/java/org/tasks/compose/DialogRow.kt index 780d233ef..f0d21a9c8 100644 --- a/app/src/main/java/org/tasks/compose/DialogRow.kt +++ b/app/src/main/java/org/tasks/compose/DialogRow.kt @@ -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