diff options
author | dan <dan.abramov@gmail.com> | 2024-06-04 11:07:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 11:07:11 +0100 |
commit | 6f1589971cd6b7a4d63c8a11374305d9d4790c33 (patch) | |
tree | f936ff7a39c70ad0cd41dffd20acce8355fa7585 /src/view/com/feeds/ProfileFeedgens.tsx | |
parent | 2ffb98e22acd5f9266ee976601016345a19f5927 (diff) | |
download | voidsky-6f1589971cd6b7a4d63c8a11374305d9d4790c33.tar.zst |
Fix missing top borders (#4346)
Diffstat (limited to 'src/view/com/feeds/ProfileFeedgens.tsx')
-rw-r--r-- | src/view/com/feeds/ProfileFeedgens.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/feeds/ProfileFeedgens.tsx b/src/view/com/feeds/ProfileFeedgens.tsx index 5977e6af9..197f35e4d 100644 --- a/src/view/com/feeds/ProfileFeedgens.tsx +++ b/src/view/com/feeds/ProfileFeedgens.tsx @@ -14,7 +14,7 @@ import {useQueryClient} from '@tanstack/react-query' import {cleanError} from '#/lib/strings/errors' import {useTheme} from '#/lib/ThemeContext' import {logger} from '#/logger' -import {isNative} from '#/platform/detection' +import {isNative, isWeb} from '#/platform/detection' import {hydrateFeedGenerator} from '#/state/queries/feed' import {usePreferencesQuery} from '#/state/queries/preferences' import {RQKEY, useProfileFeedgensQuery} from '#/state/queries/profile-feedgens' @@ -166,7 +166,7 @@ export const ProfileFeedgens = React.forwardRef< preferences={preferences} style={styles.item} showLikes - hideTopBorder={index === 0} + hideTopBorder={index === 0 && !isWeb} /> ) } |