Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(mobile): Stabilize thread feed layout and Markdown rendering #4036

Closedjuliusmarmingewants to merge 9 commits intomain fromrefs/pull/4036/headopened View on GitHub

Showing 10 changed files with 58 additions and 27 deletions (loading 6).

x
0 of 10 viewed, 10 left
17 additions and 8 deletionsapps/mobile/modules/t3-markdown-text/ios/T3MarkdownTextShadowNode.hModified
View file
@@ -20,12 +20,16 @@
Float firstLineHeadIndent;
Float headIndent;
Float paragraphSpacing;
+​
+ bool operator==(const T3MarkdownTextParagraphStyleRange&) const = default;
};
​
struct T3MarkdownTextAttachmentRange {
size_t location;
size_t length;
std::string imageUri;
+​
+ bool operator==(const T3MarkdownTextAttachmentRange&) const = default;
};
​
inline Float T3MarkdownTextAttachmentSize(const T3MarkdownTextAttachmentRange &) {
@@ -52,11 +56,6 @@
public:
using ConcreteViewShadowNode::ConcreteViewShadowNode;
​
- T3MarkdownTextShadowNode(
- const ShadowNode& sourceShadowNode,
- const ShadowNodeFragment& fragment
- );
-​
static ShadowNodeTraits BaseTraits() {
auto traits = ConcreteViewShadowNode::BaseTraits();
traits.set(ShadowNodeTraits::Trait::LeafYogaNode);