mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-03 12:27:32 +01:00
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…
x
Reference in New Issue
Block a user