# Update icon theme fallback to use default theme \(\#38485\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0f4bdca9e9742bc2acea8b72497e55f3deb4805a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0f4bdca9e9742bc2acea8b72497e55f3deb4805a

Requested commit: 0f4bdca9e9742bc2acea8b72497e55f3deb4805a

Commit: 0f4bdca9e9742bc2acea8b72497e55f3deb4805a

Tree: a90c8ff68208b8c63bff7a1a15b6f5a80eb4f6d3

Author: Jan Češpivo

Committer: GitHub

## Message

````
Update icon theme fallback to use default theme (#38485)

https://github.com/zed-industries/zed/pull/38367 introduced panic:

```
thread 'main' panicked at crates/theme/src/settings.rs:812:18:
called `Option::unwrap()` on a `None` value
```

In this PR I restored fallback logic from the original code - before
settings refactor.

Release Notes:

- N/A
````

## Parents

- [154b01c5fe55192d5f319c1858556f3246f49952](https://git.cafe/gitcafe/zed/commit/154b01c5fe55192d5f319c1858556f3246f49952?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0f4bdca9e9742bc2acea8b72497e55f3deb4805a?format=markdown)
