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

Android notifications posted while in bedtime mode (dark theme) are unreadable in daytime mode (light theme) #4046

Closed
brad2014 opened this issue Oct 6, 2023 · 4 comments

Comments

@brad2014
Copy link

brad2014 commented Oct 6, 2023

Apologies if this is covered by #3477, PR #3921. This issue is specifically about illegible Android notifications (outside the App).

To reproduce: Receive a Tusky notification while in dark theme (e.g. bedtime mode), then view that notification while not in dark mode (e.g. next day).

Expected: Text is light on dark.
Actual: Text is dark on dark, illegible.

Workaround: enable dark mode to read the notification.


  • Tusky Version: 23.0

  • Android Version: 13

  • Android Device: Pixel 4 XL

  • Mastodon instance (if applicable):

  • [ x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.

@brad2014 brad2014 changed the title Notifications posted in bedtime mode (dark theme) are unreadable in daytime (light theme) Android notifications posted while in bedtime mode (dark theme) are unreadable in daytime mode (light theme) Oct 6, 2023
@connyduck
Copy link
Collaborator

And this only happens with Tusky notifications? That would be very weird because Tusky does not set any colors on Android notifications. I don't think it is even possible to do so. Sounds like a bug on your device tbh.

@brad2014
Copy link
Author

brad2014 commented Oct 7, 2023

I'd (naively) assumed it was related to the constant setColor in

.setColor(context.getColor(R.color.notification_color))

But I'm having trouble reproducing this. Let me see if I can get a reproducible case.

@connyduck
Copy link
Collaborator

That is the accent color (Tusky's blue) not the text color

@brad2014
Copy link
Author

Yep. My bad. This is not a tusky-specific issue.

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

No branches or pull requests

2 participants