diff --git a/Packages/Account/Sources/Account/AccountDetailHeaderView.swift b/Packages/Account/Sources/Account/AccountDetailHeaderView.swift index bf94c46b..21f5f857 100644 --- a/Packages/Account/Sources/Account/AccountDetailHeaderView.swift +++ b/Packages/Account/Sources/Account/AccountDetailHeaderView.swift @@ -197,6 +197,9 @@ struct AccountDetailHeaderView: View { if account.bot { Text("πŸ€–") } + if account.locked{ + Text("πŸ”’") + } Image(systemName: "calendar") Text("account.joined") Text(joinedAt, style: .date) diff --git a/Packages/Status/Sources/Status/Row/Subviews/StatusRowHeaderView.swift b/Packages/Status/Sources/Status/Row/Subviews/StatusRowHeaderView.swift index 53bceba0..7ff2f5ea 100644 --- a/Packages/Status/Sources/Status/Row/Subviews/StatusRowHeaderView.swift +++ b/Packages/Status/Sources/Status/Row/Subviews/StatusRowHeaderView.swift @@ -73,6 +73,7 @@ struct StatusRowHeaderView: View { private var dateView: Text { Text(viewModel.status.account.bot ? "πŸ€– " : "") + + Text(viewModel.status.account.locked ? "πŸ”’ " : "") + Text(status.createdAt.relativeFormatted) + Text(" βΈ± ") + Text(Image(systemName: viewModel.status.visibility.iconName))