From 47d54fd9e6d519b772652d0bfbe9b45da891e0c4 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 20 Nov 2023 17:20:09 +0100 Subject: [PATCH] Fixes --- .../AppAccount/AppAccountsSelectorView.swift | 5 ++--- .../Sources/Status/Row/StatusRowView.swift | 20 ++++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Packages/AppAccount/Sources/AppAccount/AppAccountsSelectorView.swift b/Packages/AppAccount/Sources/AppAccount/AppAccountsSelectorView.swift index de16c5ae..c5f16f17 100644 --- a/Packages/AppAccount/Sources/AppAccount/AppAccountsSelectorView.swift +++ b/Packages/AppAccount/Sources/AppAccount/AppAccountsSelectorView.swift @@ -73,10 +73,9 @@ public struct AppAccountsSelectorView: View { Group { if let account = currentAccount.account, !currentAccount.isLoadingAccount { AvatarView(account: account, config: avatarConfig) + .padding(.leading, 16) } else { - AvatarView(account: nil, config: avatarConfig) - .redacted(reason: .placeholder) - .allowsHitTesting(false) + ProgressView() } }.overlay(alignment: .topTrailing) { if !currentAccount.followRequests.isEmpty || showNotificationBadge, accountCreationEnabled { diff --git a/Packages/Status/Sources/Status/Row/StatusRowView.swift b/Packages/Status/Sources/Status/Row/StatusRowView.swift index 1610fa94..3feacaa9 100644 --- a/Packages/Status/Sources/Status/Row/StatusRowView.swift +++ b/Packages/Status/Sources/Status/Row/StatusRowView.swift @@ -32,16 +32,18 @@ public struct StatusRowView: View { public var body: some View { HStack(spacing: 0) { - HStack(spacing: 3) { - ForEach(0.. 0 { + Spacer(minLength: 8) } - } - if indentationLevel > 0 { - Spacer(minLength: 8) } VStack(alignment: .leading) { if viewModel.isFiltered, let filter = viewModel.filter {