# Desktop App crashed on changing the light modes

**URL:** https://forums.rocket.chat/t/desktop-app-crashed-on-changing-the-light-modes/16071
**Category:** Community Support
**Tags:** rocketchat-apps
**Created:** [February 25, 2023, 6:42pm UTC](https://forums.rocket.chat/t/desktop-app-crashed-on-changing-the-light-modes/16071 "2023-02-25T18:42:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Pheewwww](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/pheewwww/32/4467_2.png) [@Pheewwww](https://forums.rocket.chat/u/Pheewwww)
#### Post date: [February 25, 2023, 6:42pm UTC](https://forums.rocket.chat/t/desktop-app-crashed-on-changing-the-light-modes/16071/1 "2023-02-25T18:42:31Z")

</div>

### Description

i changed light modes from dark to light(white), and the app crashed. Even after restarting, it’s not loading properly.

 ![image](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/f/f5351f780423b7dda5a1cbb552127af2fdbb9fce.png)

### Server Setup Information

- Version of Rocket.Chat Server:
- Operating System: win 10
- Deployment Method: 
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
- Proxy: 
- Firewalls involved:

### Any additional Information

---

<div class="post-metadata">

### Author: ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)
#### Post date: [February 27, 2023, 6:35pm UTC](https://forums.rocket.chat/t/desktop-app-crashed-on-changing-the-light-modes/16071/2 "2023-02-27T18:35:46Z")

</div>

Hi @Pheewwww !!

Thanks for reporting this. I was able to reproduce this as well on [http://open.rocket.chat](http://open.rocket.chat), using Linux mint.

Can you state the server version you are running?

This should be fixed in the upcoming Rocket.Chat 6

---

<div class="post-metadata">

### Author: ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)
#### Post date: [February 27, 2023, 7:13pm UTC](https://forums.rocket.chat/t/desktop-app-crashed-on-changing-the-light-modes/16071/3 "2023-02-27T19:13:16Z")

</div>

Ok, this was fixed already and will land in 6.0.0:

> <https://github.com/RocketChat/Rocket.Chat/pull/28161>
>
> \[ARCH-150\](https://rocketchat.atlassian.net/browse/ARCH-150)
> 
> \- Refactor Palet…teStyleTag: remove \`return null\` and add conditional palette return to toggle between light and dark
> \- Create subfolder for helper functions 
> 
> \<!-- Your Pull Request name should start with one of the following tags
> \[NEW\] For new features
> \[IMPROVE\] For an improvement (performance or little improvements) in existing features
> \[FIX\] For bug fixes that affect the end-user
> \[BREAK\] For pull requests including breaking changes
> Chore: For small tasks
> Doc: For documentation
> \--\>
> 
> \<!-- Checklist!!! If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code. 
> - I have read the Contributing Guide - https://github.com/RocketChat/Rocket.Chat/blob/develop/.github/CONTRIBUTING.md#contributing-to-rocketchat doc
> - I have signed the CLA - https://cla-assistant.io/RocketChat/Rocket.Chat
> - Lint and unit tests pass locally with my changes
> - I have added tests that prove my fix is effective or that my feature works (if applicable)
> - I have added necessary documentation (if applicable)
> - Any dependent changes have been merged and published in downstream modules
> \--\>
> 
> \## Proposed changes (including videos or screenshots)
> 
> \<!--
> Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
> If it fixes a bug or resolves a feature request, be sure to link to that issue below.
> This description will appear in the release notes if we accept the contribution.
> \--\>
> 
> 
> 
> \## Issue(s)
> 
> 
> \## Steps to test or reproduce
> 
> 
> \## Further comments
> 
> 
> 
> \[ARCH-150\]: https://rocketchat.atlassian.net/browse/ARCH-150?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
