Skip to content

🤖 Add Custom Application Class and Improve State Handling in MainActivity#362

Merged
doubleangels merged 2 commits intodevfrom
autofix/add-custom-application-class-and-improve-state-handling-in-mainactivity
Jan 21, 2025
Merged

🤖 Add Custom Application Class and Improve State Handling in MainActivity#362
doubleangels merged 2 commits intodevfrom
autofix/add-custom-application-class-and-improve-state-handling-in-mainactivity

Conversation

@seer-by-sentry
Copy link
Copy Markdown
Contributor

👋 Hi there! This PR was automatically generated by Autofix 🤖

This fix was triggered by DoubleAngels

Fixes NEXTDNS-MANAGER-1BG

This pull request introduces a new NextDNSApplication class that extends Application, enabling the registration of activity lifecycle callbacks to manage the application's theme state based on day/night mode. Additionally, the MainActivity has been updated to save and restore the state of the WebView and the dark mode setting to ensure a seamless user experience across configuration changes. The manifest file has also been modified to declare the new application class.

If you have any questions or feedback for the Sentry team about this fix, please email autofix@sentry.io with the Run ID: 3399.

@doubleangels doubleangels changed the base branch from main to dev January 21, 2025 21:25
@doubleangels doubleangels marked this pull request as ready for review January 21, 2025 21:26
@doubleangels doubleangels merged commit 5d9dc7d into dev Jan 21, 2025
@doubleangels doubleangels deleted the autofix/add-custom-application-class-and-improve-state-handling-in-mainactivity branch January 21, 2025 21:47
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