--- Shared utilities ---
(ts time.Time)
| 340 | m.restyle(theme) |
| 341 | } |
| 342 | return m, nil |
| 343 | |
| 344 | case themeChangedMsg: |
| 345 | // omarchy-theme-set removes the theme directory before moving the new one in. |
| 346 | // Mid-swap there is nothing to read yet; keep the current palette and wait |
| 347 | // for the move. |
| 348 | if theme := ResolveTheme(); theme.Source != "" || omarchyThemeDir(userHomeDir()) == "" { |
| 349 | if !theme.HasMode { |
| 350 | // Carry the last known mode for now and ask the terminal again: |
no outgoing calls
no test coverage detected