# theme: Implement icon theme reloading \(\#24449\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 144487bf1ac3b21e16f5ae03b715a3e13f88f1d7

Requested commit: 144487bf1ac3b21e16f5ae03b715a3e13f88f1d7

Commit: 144487bf1ac3b21e16f5ae03b715a3e13f88f1d7

Tree: 40cbdea39a23678255f34b75ac8195e0eb7eb4b9

Author: Finn Evers

Committer: GitHub

## Message

```
theme: Implement icon theme reloading (#24449)

Closes #24353 

This PR implements icon theme reload to ensure file icons are properly
updated whenever an icon theme extension is upgraded or uninstalled.

Currently, on both upgrade and uninstall of an icon theme extension the
file icons from the previously installed version will stay visibile and
will not be updated as shown in the linked issue. With this change, file
icons will properly be updated on extension upgrade or reinstall.

The code is primarily a copy for reloading the current color theme
adapted to work for icon themes. Happy for any feedback!


Release Notes:

- Fixed file icons not being properly updated upon icon theme upgrade or
uninstall.
```

## Parents

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

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