mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-03-17 12:00:21 +01:00
Use named parameter for cancelCallback
in CheckFeatureLocked
This commit is contained in:
parent
d40d5329e5
commit
d2473cfb1f
@ -100,11 +100,12 @@ fun CheckFeatureLocked(
|
||||
DialogMember {
|
||||
FeatureLockedAlertDialog(
|
||||
alertDialogState = this,
|
||||
) {
|
||||
if (!isOrWasThankYouInstalled) {
|
||||
context.finish()
|
||||
cancelCallback = {
|
||||
if (!isOrWasThankYouInstalled) {
|
||||
context.finish()
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
LaunchedEffect(isOrWasThankYouInstalled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user