Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation issues in Theme #105

Open
acrusage opened this issue May 25, 2023 · 1 comment
Open

Fix deprecation issues in Theme #105

acrusage opened this issue May 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@acrusage
Copy link

ui/theme/Theme.kt:75:24 'getWindowInsetsController(View): WindowInsetsControllerCompat?' is deprecated. Deprecated in Java

@JoseAlcerreca JoseAlcerreca added the bug Something isn't working label Nov 20, 2023
@JoseAlcerreca
Copy link
Contributor

This seems to be the fix

            WindowCompat.getInsetsController((view.context as Activity).window, view)
                .isAppearanceLightStatusBars = darkTheme

but not sure if this is totally obsolete nowadays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants