We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 212c678 commit ac34adaCopy full SHA for ac34ada
1 file changed
app/src/main/java/org/schabi/newpipe/ui/components/common/DropdownTextMenuItem.kt
@@ -4,9 +4,11 @@ import androidx.annotation.StringRes
4
import androidx.compose.material3.DropdownMenuItem
5
import androidx.compose.material3.Text
6
import androidx.compose.runtime.Composable
7
+import androidx.compose.runtime.NonRestartableComposable
8
import androidx.compose.ui.res.stringResource
9
10
@Composable
11
+@NonRestartableComposable
12
fun DropdownTextMenuItem(
13
@StringRes text: Int,
14
onClick: () -> Unit
0 commit comments