mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
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:
parent
afd6c5d6b7
commit
634d793839
@ -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,
|
||||
) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user