From 740b6ebda545390b7fd5368dec8d7d015df6eee8 Mon Sep 17 00:00:00 2001 From: Bedir Ekim Date: Wed, 18 Feb 2026 23:20:32 +0100 Subject: [PATCH] Fix username shown twice for posts in mod mail --- .../App/Views/Root/Tabs/Feeds/Feed Posts/HeadlinePostView.swift | 2 +- Mlem/App/Views/Root/Tabs/Feeds/Feed Posts/LargePostView.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Mlem/App/Views/Root/Tabs/Feeds/Feed Posts/HeadlinePostView.swift b/Mlem/App/Views/Root/Tabs/Feeds/Feed Posts/HeadlinePostView.swift index 4726b73be..2d4a53bb7 100644 --- a/Mlem/App/Views/Root/Tabs/Feeds/Feed Posts/HeadlinePostView.swift +++ b/Mlem/App/Views/Root/Tabs/Feeds/Feed Posts/HeadlinePostView.swift @@ -78,7 +78,7 @@ struct HeadlinePostView: View { HeadlinePostBodyView(post: post, requireConsistentHeight: requireConsistentHeight) - if alwaysShowCreator, communityContext == nil { + if alwaysShowCreator, communityContext == nil, topNavigationLink != .creator { personLink } diff --git a/Mlem/App/Views/Root/Tabs/Feeds/Feed Posts/LargePostView.swift b/Mlem/App/Views/Root/Tabs/Feeds/Feed Posts/LargePostView.swift index cf4144c6e..82d833e42 100644 --- a/Mlem/App/Views/Root/Tabs/Feeds/Feed Posts/LargePostView.swift +++ b/Mlem/App/Views/Root/Tabs/Feeds/Feed Posts/LargePostView.swift @@ -86,7 +86,7 @@ struct LargePostView: View { LargePostBodyView(post: post, isPostPage: isPostPage, shouldBlur: shouldBlur) - if (alwaysShowCreator && communityContext == nil) || isPostPage { + if (alwaysShowCreator && communityContext == nil && topNavigationLink != .creator) || isPostPage { personLink }