mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01: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
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue