diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-04-13 05:13:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-13 05:13:53 +0100 |
commit | 4c966e5d6d1cbafe7a41d58268ffcb2cee31abe8 (patch) | |
tree | c16f28032012c6123ea956b657656b9122b4ab66 /src/view/com/util/post-ctrls/PostCtrls.tsx | |
parent | 4b3ec5573241b9c71504dfd0bd5f181cbde19a49 (diff) | |
download | voidsky-4c966e5d6d1cbafe7a41d58268ffcb2cee31abe8.tar.zst |
[Embeds] "Embed post" post dropdown option (#3513)
* add embed option to post dropdown menu * put embed post button behind a gate * increase line height in dialog * add gate to gate name union * hide embed button if PWI optout * Ungate embed button * Escape HTML, align implementations * Make dialog conditionally rendered * Memoize EmbedDialog * Render dialog lazily --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/view/com/util/post-ctrls/PostCtrls.tsx')
-rw-r--r-- | src/view/com/util/post-ctrls/PostCtrls.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/com/util/post-ctrls/PostCtrls.tsx b/src/view/com/util/post-ctrls/PostCtrls.tsx index cd4a36373..cb50ee6dc 100644 --- a/src/view/com/util/post-ctrls/PostCtrls.tsx +++ b/src/view/com/util/post-ctrls/PostCtrls.tsx @@ -264,6 +264,7 @@ let PostCtrls = ({ richText={richText} style={styles.btnPad} hitSlop={big ? HITSLOP_20 : HITSLOP_10} + timestamp={post.indexedAt} /> </View> </View> |