diff --git a/lib/widgets/account/account_name.dart b/lib/widgets/account/account_name.dart index cc206c07..7884c64e 100644 --- a/lib/widgets/account/account_name.dart +++ b/lib/widgets/account/account_name.dart @@ -38,12 +38,14 @@ class AccountName extends StatelessWidget { final TextStyle? style; final String? textOverride; final bool ignorePermissions; + final bool hideVerificationMark; const AccountName({ super.key, required this.account, this.style, this.textOverride, this.ignorePermissions = false, + this.hideVerificationMark = false, }); Alignment _parseGradientDirection(String direction) { @@ -188,7 +190,8 @@ class AccountName extends StatelessWidget { ), if (account.perkSubscription != null) StellarMembershipMark(membership: account.perkSubscription!), - if (account.profile.verification != null) + if (account.profile.verification != null && + !hideVerificationMark) VerificationMark(mark: account.profile.verification!), if (account.automatedId != null) Tooltip( diff --git a/lib/widgets/post/post_shared.dart b/lib/widgets/post/post_shared.dart index 9741eb1f..ab72af44 100644 --- a/lib/widgets/post/post_shared.dart +++ b/lib/widgets/post/post_shared.dart @@ -609,6 +609,7 @@ class PostHeader extends StatelessWidget { account: item.publisher.account!, textOverride: item.publisher.nick, style: TextStyle(fontWeight: FontWeight.bold), + hideVerificationMark: true, ) : Text( item.publisher.nick, @@ -616,11 +617,8 @@ class PostHeader extends StatelessWidget { overflow: TextOverflow.ellipsis, ).bold(), ), - if (!(item.publisher.account?.profile.verification != - null && - item.publisher.type == 0)) - if (item.publisher.verification != null) - VerificationMark(mark: item.publisher.verification!), + if (item.publisher.verification != null) + VerificationMark(mark: item.publisher.verification!), if (item.realm == null) Flexible( child: