mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-09-19 20:51:30 +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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue