Nameless icon indicating copy to clipboard operation
Nameless copied to clipboard

Sync frontend + StaffCP night mode toggle

Open CreaCloudz opened this issue 3 years ago • 2 comments

Describe the issue

Night mode not save in data user.

NamelessMC Version

2.0.0

To Reproduce

  1. Go to the StaffCP
  2. Activate the night mode staff panel
  3. Check database user and night mode is not activate.

Expected Behaviour

No response

Screenshots

No response

Additional Information

No response

CreaCloudz avatar Aug 23 '22 06:08 CreaCloudz

It should not be stored in the database, but cookies

PadowYT2 avatar Aug 23 '22 06:08 PadowYT2

@PadowYT2 is correct - this is a separate system to the frontend dark mode setting - the frontend setting uses the database and the StaffCP uses cookies.

I have been thinking of changing this so they are both in sync - I will update this ticket and use it to track.

samerton avatar Aug 24 '22 17:08 samerton