Adds a strikethrough button ("S") to the compose formatting toolbar, placed right after Underline.
Wired identically to the existing Bold/Italic/Underline buttons: calls onToggleStyle(RichStyle.Strikethrough) and reflects active state via RichTextEditing.isStyled.
Adds the format_strikethrough string resource used as the button's onClickLabel (accessibility label).
The rich-text engine already fully supported strikethrough end-to-end (RichStyle.Strikethrough, HTML <s> serialization/parsing, TextDecoration.LineThrough rendering) — this PR only adds the missing toolbar control.
## Summary
- Adds a strikethrough button ("S") to the compose formatting toolbar, placed right after Underline.
- Wired identically to the existing Bold/Italic/Underline buttons: calls `onToggleStyle(RichStyle.Strikethrough)` and reflects active state via `RichTextEditing.isStyled`.
- Adds the `format_strikethrough` string resource used as the button's `onClickLabel` (accessibility label).
The rich-text engine already fully supported strikethrough end-to-end (`RichStyle.Strikethrough`, HTML `<s>` serialization/parsing, `TextDecoration.LineThrough` rendering) — this PR only adds the missing toolbar control.
Closes #71
## Test plan
- [x] `assembleDebug`
- [x] `testDebugUnitTest`
- [x] `lintDebug`
- [x] `ktlintCheck`
- [x] `detekt`
- [x] `compileDebugAndroidTestKotlin`
All run locally under JDK 21, all green.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
onToggleStyle(RichStyle.Strikethrough)and reflects active state viaRichTextEditing.isStyled.format_strikethroughstring resource used as the button'sonClickLabel(accessibility label).The rich-text engine already fully supported strikethrough end-to-end (
RichStyle.Strikethrough, HTML<s>serialization/parsing,TextDecoration.LineThroughrendering) — this PR only adds the missing toolbar control.Closes #71
Test plan
assembleDebugtestDebugUnitTestlintDebugktlintCheckdetektcompileDebugAndroidTestKotlinAll run locally under JDK 21, all green.
🤖 Generated with Claude Code