RocketChat / RocketChat/Rocket.Chat.ReactNative

Switch color doesn't match with App's Theme

Open
#5,426 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Description:
Environment Information:
  • Rocket.Chat Server Version: 6.5.0
  • Rocket.Chat App Version: 4.44.0+
  • Device Name: Realme 9
  • OS Version: Android
Steps to reproduce:
  1. Go to Display from DrawerNavigation
  2. Turn on Avatars Switch
Expected behavior:

The color of the switch should match with App's theme

Actual behavior:

The switch color doesn't match with App's Theme

Additional context:

WhatsApp Image 2023-12-23 at 5 46 24 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Display entry reached from DrawerNavigation and reproduce the Avatars switch on Android. Trace how that switch receives the App theme, then compare its rendered color with the expected theme color. Done means the switch matches the active App theme and the behavior is verified on the stated Android environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
design, frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.