Align unread counts on iOS

This commit is contained in:
Maurice Parker 2020-07-05 19:09:23 -05:00
parent 1389008b31
commit 9126ec424d
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@ struct SidebarItemView: View {
if sidebarItem.unreadCount > 0 { if sidebarItem.unreadCount > 0 {
UnreadCountView(count: sidebarItem.unreadCount) UnreadCountView(count: sidebarItem.unreadCount)
} }
#if os(iOS)
if sidebarItem.representedType == .webFeed || sidebarItem.representedType == .pseudoFeed {
Spacer()
.frame(width: 16)
}
#endif
} }
.onAppear { .onAppear {
if let feed = sidebarItem.feed { if let feed = sidebarItem.feed {