Use named parameter for cancelCallback in CheckFeatureLocked

This commit is contained in:
Ensar Sarajčić 2023-10-09 09:41:19 +02:00
parent d40d5329e5
commit d2473cfb1f

View File

@ -100,11 +100,12 @@ fun CheckFeatureLocked(
DialogMember {
FeatureLockedAlertDialog(
alertDialogState = this,
) {
if (!isOrWasThankYouInstalled) {
context.finish()
cancelCallback = {
if (!isOrWasThankYouInstalled) {
context.finish()
}
}
}
)
}
}
LaunchedEffect(isOrWasThankYouInstalled) {