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 import app.revanced.manager.R
@Composable @Composable
inline fun DangerousActionDialogBase( fun DangerousActionDialogBase(
noinline onCancel: () -> Unit, onCancel: () -> Unit,
crossinline confirmButton: @Composable (Boolean) -> Unit, confirmButton: @Composable (Boolean) -> Unit,
@StringRes title: Int, @StringRes title: Int,
body: String, body: String,
) { ) {