about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/view/com/post-thread/PostThreadItem.tsx2
-rw-r--r--src/view/com/post/Post.tsx2
-rw-r--r--src/view/com/posts/FeedItem.tsx2
-rw-r--r--src/view/com/util/RichText.tsx10
4 files changed, 3 insertions, 13 deletions
diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx
index d08ca3e4a..fcfaba9d4 100644
--- a/src/view/com/post-thread/PostThreadItem.tsx
+++ b/src/view/com/post-thread/PostThreadItem.tsx
@@ -356,7 +356,7 @@ const styles = StyleSheet.create({
     maxWidth: 240,
   },
   postText: {
-    fontFamily: 'Helvetica Neue',
+    fontFamily: 'System',
     fontSize: 16,
     lineHeight: 20.8, // 1.3 of 16px
   },
diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx
index 736b40157..2996991e7 100644
--- a/src/view/com/post/Post.tsx
+++ b/src/view/com/post/Post.tsx
@@ -206,7 +206,7 @@ const styles = StyleSheet.create({
     paddingBottom: 8,
   },
   postText: {
-    fontFamily: 'Helvetica Neue',
+    fontFamily: 'System',
     fontSize: 16,
     lineHeight: 20.8, // 1.3 of 16px
   },
diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx
index 4d50531bd..19df5a74d 100644
--- a/src/view/com/posts/FeedItem.tsx
+++ b/src/view/com/posts/FeedItem.tsx
@@ -249,7 +249,7 @@ const styles = StyleSheet.create({
     minHeight: 36,
   },
   postText: {
-    fontFamily: 'Helvetica Neue',
+    fontFamily: 'System',
     fontSize: 16,
     lineHeight: 20.8, // 1.3 of 16px
   },
diff --git a/src/view/com/util/RichText.tsx b/src/view/com/util/RichText.tsx
index 3f0e99087..835a3515b 100644
--- a/src/view/com/util/RichText.tsx
+++ b/src/view/com/util/RichText.tsx
@@ -98,13 +98,3 @@ function* toSegments(text: string, entities: Entity[]) {
     yield text.slice(cursor, text.length)
   }
 }
-
-function stripUsername(v: string): string {
-  return v.trim().replace('@', '')
-}
-
-function isSameLink(a: string, b: string) {
-  a = a.startsWith('http') ? a : `https://${a}`
-  b = b.startsWith('http') ? b : `https://${b}`
-  return a === b
-}