Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 4
    To make it more explicit: Always use the first one. Commented Jul 21, 2025 at 9:07
  • It's almost certainly an oversight as the description above the code block in the tutorial even says "Pass a stringResource of the affirmation.stringResourceId to the text parameter" Commented Jul 21, 2025 at 18:10
  • The getter for LocalContext.current is a composable function, so this will also only work inside of a composable. Commented Oct 18, 2025 at 22:26