From f401ffbf81ebe1aafd0d30c94b71edffffabda38 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 23 Aug 2025 17:34:01 +0800 Subject: [PATCH] :bug: Fix profile page --- assets/i18n/zh-CN.json | 2 +- lib/screens/posts/pub_profile.dart | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/i18n/zh-CN.json b/assets/i18n/zh-CN.json index 029a1cf1..72819fe8 100644 --- a/assets/i18n/zh-CN.json +++ b/assets/i18n/zh-CN.json @@ -345,7 +345,7 @@ "accountSettingsHelpContent": "此页面允许您管理您的帐户安全性、隐私和其他设置。如果您需要帮助,请联系管理员。", "unauthorized": "未授权", "unauthorizedHint": "您未登录或会话已过期,请重新登录。", - "publisherBelongsTo": "属于", + "publisherBelongsTo": "属于 {}", "postContent": "内容", "postSettings": "设置", "postPublisherUnselected": "未指定发布者", diff --git a/lib/screens/posts/pub_profile.dart b/lib/screens/posts/pub_profile.dart index 1a6dca30..7ecff9dd 100644 --- a/lib/screens/posts/pub_profile.dart +++ b/lib/screens/posts/pub_profile.dart @@ -196,7 +196,8 @@ class PublisherProfileScreen extends HookConsumerWidget { 'publisherBelongsTo'.tr(args: ['@${data.account!.name}']), ).fontSize(14), ], - ).opacity(0.85).padding(bottom: 6), + ).opacity(0.85), + const Gap(4), if (data.type == 0 && data.account != null) AccountStatusWidget( uname: data.account!.name,