Skip to content

Fix crash when settings.toolbar is undefined#166

Merged
JohnMcLear merged 1 commit intomainfrom
fix/toolbar-undefined-crash
Apr 14, 2026
Merged

Fix crash when settings.toolbar is undefined#166
JohnMcLear merged 1 commit intomainfrom
fix/toolbar-undefined-crash

Conversation

@JohnMcLear
Copy link
Copy Markdown
Member

Fixes the same bug as ether/ep_font_color#113JSON.stringify(settings.toolbar) throws when toolbar is not configured in settings.json. Adds a null check.

🤖 Generated with Claude Code

JSON.stringify(settings.toolbar) throws when toolbar is not configured.
Guard with a null check. Same fix as ep_font_color#113.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@JohnMcLear JohnMcLear merged commit be3f1a6 into main Apr 14, 2026
3 checks passed
@JohnMcLear JohnMcLear deleted the fix/toolbar-undefined-crash branch April 14, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant