@@ -87,14 +81,10 @@ export default function ProfileImage({
size={size}
imageOverlay={imageOverlay}
icons={
- (followDistance <= 2 && showFollowDistance) || icons ? (
+ showFollowDistance || icons ? (
<>
{icons}
- {showFollowDistance && (
-
-
-
- )}
+ {showFollowDistance &&
}
>
) : undefined
}
diff --git a/packages/app/src/Pages/Profile/ProfilePage.tsx b/packages/app/src/Pages/Profile/ProfilePage.tsx
index 558cfa0b..3e60f43d 100644
--- a/packages/app/src/Pages/Profile/ProfilePage.tsx
+++ b/packages/app/src/Pages/Profile/ProfilePage.tsx
@@ -60,6 +60,7 @@ import { UserWebsiteLink } from "@/Element/User/UserWebsiteLink";
import { useMuteList, usePinList } from "@/Hooks/useLists";
import messages from "../messages";
+import FollowDistanceIndicator from "@/Element/User/FollowDistanceIndicator";
interface ProfilePageProps {
id?: string;
@@ -163,31 +164,34 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) {
{user?.nip05 &&
}
- {followedByFriends.size > 0 && (
-
-
-
-
- {Array.from(followedByFriends)
- .slice(0, MAX_FOLLOWED_BY_FRIENDS)
- .map(a => {
- return (
-
-
-
- );
- })}
- {followedByFriends.size > MAX_FOLLOWED_BY_FRIENDS && (
-
-
+
+ {user?.pubkey &&
}
+ {followedByFriends.size > 0 && (
+
+
+
- )}
-
- )}
+ {Array.from(followedByFriends)
+ .slice(0, MAX_FOLLOWED_BY_FRIENDS)
+ .map(a => {
+ return (
+
+
+
+ );
+ })}
+ {followedByFriends.size > MAX_FOLLOWED_BY_FRIENDS && (
+
+
+
+ )}
+
+ )}
+
{showBadges &&