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 { DialogMember {
FeatureLockedAlertDialog( FeatureLockedAlertDialog(
alertDialogState = this, alertDialogState = this,
) { cancelCallback = {
if (!isOrWasThankYouInstalled) { if (!isOrWasThankYouInstalled) {
context.finish() context.finish()
}
} }
} )
} }
} }
LaunchedEffect(isOrWasThankYouInstalled) { LaunchedEffect(isOrWasThankYouInstalled) {