Skip to content

Conversation

@KaranSuthar099
Copy link

Import wakelock_plus and keep the device awake while analysis and opening explorer screens are active. AnalysisScreen now enables wakelock in initState and disables it in dispose.

OpeningExplorerScreen was converted from a ConsumerWidget to a ConsumerStatefulWidget with a _OpeningExplorerScreenState to manage wakelock in initState/dispose; references to options were updated to use widget.options and the constructor now forwards the key.

This ensures the UI stays awake during long-running analysis/explorer sessions.

Import wakelock_plus and keep the device awake while analysis and opening explorer screens are active. AnalysisScreen now enables wakelock in initState and disables it in dispose.

OpeningExplorerScreen was converted from a ConsumerWidget to a ConsumerStatefulWidget with a _OpeningExplorerScreenState to manage wakelock in initState/dispose; references to options were updated to use widget.options and the constructor now forwards the key.

This ensures the UI stays awake during long-running analysis/explorer sessions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant