mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-04-08 07:31:25 +02:00
Use named parameter for cancelCallback
in CheckFeatureLocked
This commit is contained in:
parent
d40d5329e5
commit
d2473cfb1f
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user