about summary refs log tree commit diff
path: root/src/components/Post
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-06-23 17:44:40 +0300
committerGitHub <noreply@github.com>2025-06-23 07:44:40 -0700
commitc634cd9071305239f8c7d6acf371aca397f2bf2b (patch)
tree6df1efe8fc7d01b2bca9d325c4971a03534e361e /src/components/Post
parent3c92714e4e898ffabd714092f4d9c88eddf8429c (diff)
downloadvoidsky-c634cd9071305239f8c7d6acf371aca397f2bf2b.tar.zst
Upgrade prettier to 3.6 (#8558)
* upgrade prettier

* run prettier

* more files
Diffstat (limited to 'src/components/Post')
-rw-r--r--src/components/Post/Embed/ImageEmbed.tsx6
-rw-r--r--src/components/Post/Embed/VideoEmbed/VideoEmbedInner/web-controls/VideoControls.tsx4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/Post/Embed/ImageEmbed.tsx b/src/components/Post/Embed/ImageEmbed.tsx
index 030d237a0..4ed17230e 100644
--- a/src/components/Post/Embed/ImageEmbed.tsx
+++ b/src/components/Post/Embed/ImageEmbed.tsx
@@ -77,9 +77,9 @@ export function ImageEmbed({
               rest.viewContext === PostEmbedViewContext.ThreadHighlighted
                 ? 'none'
                 : rest.viewContext ===
-                  PostEmbedViewContext.FeedEmbedRecordWithMedia
-                ? 'square'
-                : 'constrained'
+                    PostEmbedViewContext.FeedEmbedRecordWithMedia
+                  ? 'square'
+                  : 'constrained'
             }
             image={image}
             onPress={(containerRef, dims) => onPress(0, [containerRef], [dims])}
diff --git a/src/components/Post/Embed/VideoEmbed/VideoEmbedInner/web-controls/VideoControls.tsx b/src/components/Post/Embed/VideoEmbed/VideoEmbedInner/web-controls/VideoControls.tsx
index 6d14deafc..676b52661 100644
--- a/src/components/Post/Embed/VideoEmbed/VideoEmbedInner/web-controls/VideoControls.tsx
+++ b/src/components/Post/Embed/VideoEmbed/VideoEmbedInner/web-controls/VideoControls.tsx
@@ -317,8 +317,8 @@ export function Controls({
           !focused
             ? msg`Unmute video`
             : playing
-            ? msg`Pause video`
-            : msg`Play video`,
+              ? msg`Pause video`
+              : msg`Play video`,
         )}
         accessibilityHint=""
         style={[