Skip to content

Conversation

@jmartinesp
Copy link
Member

@jmartinesp jmartinesp commented Nov 10, 2025

Content

Makes sure users in Android 10 can't force the dark theme in the app, since it can display a broken color scheme.

Motivation and context

Tried to fix #5703. It does make the problem better, but it doesn't really fix it as it wasn't the root cause of the problem.

Tests

I don't know how you can test this without an Android 10 device using MIUI 😅 .

Tested devices

  • Physical
  • Emulator
  • OS version(s): 10 (by an external user).

Checklist

  • Changes have been tested on an Android device or Android emulator with API 24
  • UI change has been tested on both light and dark themes
  • Accessibility has been taken into account. See https://github.com/element-hq/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
  • Pull request is based on the develop branch
  • Pull request title will be used in the release note, it clearly define what will change for the user
  • Pull request includes screenshots or videos if containing UI changes
  • You've made a self review of your PR

@github-actions
Copy link
Contributor

github-actions bot commented Nov 10, 2025

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/bLLphZ

@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.62%. Comparing base (2120b5c) to head (ad40d73).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5708   +/-   ##
========================================
  Coverage    79.62%   79.62%           
========================================
  Files         2432     2432           
  Lines        65339    65339           
  Branches      8327     8327           
========================================
  Hits         52024    52024           
  Misses       10336    10336           
  Partials      2979     2979           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jmartinesp jmartinesp force-pushed the fix/disable-force-dark-mode-on-android-10 branch from c28e70f to 6a5e74c Compare November 10, 2025 13:03
@jmartinesp jmartinesp force-pushed the fix/disable-force-dark-mode-on-android-10 branch from 6a5e74c to 69781ad Compare November 13, 2025 11:03
@jmartinesp jmartinesp added the PR-Bugfix For bug fix label Nov 14, 2025
@jmartinesp jmartinesp marked this pull request as ready for review November 14, 2025 13:42
@jmartinesp jmartinesp requested a review from a team as a code owner November 14, 2025 13:42
@jmartinesp jmartinesp requested review from ganfra and removed request for a team November 14, 2025 13:42
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-Bugfix For bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Button text is unreadable with Dark theme

2 participants