# Keep the default theme when another preference changes · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/3abb682176431c1922a8c115fe2ae46c681f4bff)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 3abb682176431c1922a8c115fe2ae46c681f4bff

Requested commit: 3abb682176431c1922a8c115fe2ae46c681f4bff

Commit: 3abb682176431c1922a8c115fe2ae46c681f4bff

Tree: e136e9124beca4a4d79e9bbaed944ca42f0ade70

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Keep the default theme when another preference changes

"Set as default" wrote the preferences record straight to Hive. The
preferences notifier still held the record it read at startup, and every
later preference change wrote that whole record back, so changing pen
color, sort order, autosave or any other setting in the same session put
the old default theme back. The theme setter now writes through the
notifier.

```

## Parents

- [c2ddf79d7f5d83519e098e151021acdf34a9c04b](https://git.cafe/dara/icarus/commit/c2ddf79d7f5d83519e098e151021acdf34a9c04b?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/3abb682176431c1922a8c115fe2ae46c681f4bff?format=markdown)
