Add reply sorting in-thread (#7156)

* Add button

* Extract component

* Make it work

* Extract and use RadioCircle

* Add tree/list setting

* Prefer local state

* Factor out threadViewPrefs

* Fix optimistic stuff

* Revert RadioButton changes

* Tweak radio styles, add Menu.LabelText

* Labels

* Margins

* Update copy

---------

Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
dan
2024-12-18 19:50:37 +00:00
committed by GitHub
parent 4097fe07c5
commit a7f763faf2
4 changed files with 281 additions and 13 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ export function ThreadPreferencesScreen({}: Props) {
}
style={[a.w_full, a.gap_md]}>
<Toggle.LabelText style={[a.flex_1]}>
<Trans>Show replies in a threaded view</Trans>
<Trans>Show replies as threaded</Trans>
</Toggle.LabelText>
<Toggle.Platform />
</Toggle.Item>