feat: don't show play protect warning in dev mode
This commit is contained in:
parent
bd298c0858
commit
33f423ddd0
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class InstallStep(private val options: PatchOptions) : Step(), KoinComponent {
|
|||
ProcessLifecycleOwner.get().lifecycle.withResumed {}
|
||||
|
||||
// Show [PlayProtectDialog] and wait until it gets dismissed
|
||||
if (!context.isPackageInstalled(options.packageName) && context.isPlayProtectEnabled() == true) {
|
||||
if (!prefs.devMode && !context.isPackageInstalled(options.packageName) && context.isPlayProtectEnabled() == true) {
|
||||
container.log("Showing play protect warning dialog")
|
||||
overlays.startComposableForResult { callback ->
|
||||
PlayProtectDialog(onDismiss = { callback(Unit) })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue