Align unread counts on iOS
This commit is contained in:
parent
1389008b31
commit
9126ec424d
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue