Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native

Enatega Customer Application : Application's dark/light theme isn't persisting (e.g., it resets when the app restarts).

Open
#870 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Application's dark/light theme isn't persisting (e.g., it resets when the app restarts).

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Customer Application'.
2.Now go to profile menu button. Select Account options.
Turn OFF Dark theme
See error now close the app and open it again the dark theme is applied already as we have applied light mode last when used the application.
Expected behavior
The selected theme (Dark/Light) should remain active and persist across sessions or navigation.

Screenshots

Screen_Recording_20250123_102526.mp4
Smartphone (please complete the following information):

Device: [e.g. Infinx Hot 50, Iphone 15 pro]
OS: [e.g. Android,ioS]
Browser [e.g. Application]
Version [e.g. Latest]

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 by reproducing the theme change in the Enatega Customer Application: turn off Dark theme through Profile > Account options, close the app, and reopen it. Trace how the selected theme is handled across navigation and app restarts. Done means the selected Dark or Light theme remains active after reopening the application.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
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.