about summary refs log tree commit diff
path: root/src/screens/Search/SearchResults.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-04-15 08:13:20 -0500
committerGitHub <noreply@github.com>2025-04-15 06:13:20 -0700
commitf46336e34142e7f46bb1395f727e303e37b15d41 (patch)
treedac04a4abd8d100dc9c0d5c65ab7f75f1d3280eb /src/screens/Search/SearchResults.tsx
parent32c2b69b848050975b698067383dd24f2754cab2 (diff)
downloadvoidsky-f46336e34142e7f46bb1395f727e303e37b15d41.tar.zst
Replace old ProfileCard with new (#8195)
* Replace usages of old ProfileCard

* Replace Pills with Labels component

* Replace impl of ProfileCardWithFollowButton

* Remove never-used LikesDialog

* Handle missing mod opts

* Add missing profile hover

* use modern button in listmembers

* remove follow button from muted accounts list

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Diffstat (limited to 'src/screens/Search/SearchResults.tsx')
-rw-r--r--src/screens/Search/SearchResults.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/screens/Search/SearchResults.tsx b/src/screens/Search/SearchResults.tsx
index bb51d2deb..6b7a582d5 100644
--- a/src/screens/Search/SearchResults.tsx
+++ b/src/screens/Search/SearchResults.tsx
@@ -275,9 +275,7 @@ let SearchScreenUserResults = ({
       {results.length ? (
         <List
           data={results}
-          renderItem={({item}) => (
-            <ProfileCardWithFollowBtn profile={item} noBg />
-          )}
+          renderItem={({item}) => <ProfileCardWithFollowBtn profile={item} />}
           keyExtractor={item => item.did}
           desktopFixedHeight
           contentContainerStyle={{paddingBottom: 100}}