fix: crash caused by compose inlining bug

This is a bug in jetpack compose. Inlining this function wasn't very
important anyways so it's best to just stop inlining it to avoid the
crash.
This commit is contained in:
Ax333l 2024-04-04 17:50:31 +02:00
parent afd6c5d6b7
commit 634d793839
No known key found for this signature in database
GPG Key ID: D2B4D85271127D23

View File

@ -27,9 +27,9 @@ import androidx.compose.ui.unit.dp
import app.revanced.manager.R
@Composable
inline fun DangerousActionDialogBase(
noinline onCancel: () -> Unit,
crossinline confirmButton: @Composable (Boolean) -> Unit,
fun DangerousActionDialogBase(
onCancel: () -> Unit,
confirmButton: @Composable (Boolean) -> Unit,
@StringRes title: Int,
body: String,
) {