diff --git a/Shared/Constants.swift b/Shared/Constants.swift index 2ab38358..026a2448 100644 --- a/Shared/Constants.swift +++ b/Shared/Constants.swift @@ -20,7 +20,7 @@ struct Constants { #endif } - static var recentsChannelThumbnailSize: Double { + static var sidebarChannelThumbnailSize: Double { #if os(macOS) 20 #else diff --git a/Shared/Navigation/AppSidebarRecents.swift b/Shared/Navigation/AppSidebarRecents.swift index 8455d871..777f2782 100644 --- a/Shared/Navigation/AppSidebarRecents.swift +++ b/Shared/Navigation/AppSidebarRecents.swift @@ -75,7 +75,7 @@ struct RecentNavigationLink: View { channel.thumbnailURLOrCached != nil { ChannelAvatarView(channel: channel, subscribedBadge: false) - .frame(width: Constants.recentsChannelThumbnailSize, height: Constants.recentsChannelThumbnailSize) + .frame(width: Constants.sidebarChannelThumbnailSize, height: Constants.sidebarChannelThumbnailSize) Text(channel.name) } else { diff --git a/Shared/Navigation/AppSidebarSubscriptions.swift b/Shared/Navigation/AppSidebarSubscriptions.swift index b6d42f91..cd277b89 100644 --- a/Shared/Navigation/AppSidebarSubscriptions.swift +++ b/Shared/Navigation/AppSidebarSubscriptions.swift @@ -17,7 +17,7 @@ struct AppSidebarSubscriptions: View { HStack { if channel.thumbnailURL != nil { ChannelAvatarView(channel: channel, subscribedBadge: false) - .frame(width: 20, height: 20) + .frame(width: Constants.sidebarChannelThumbnailSize, height: Constants.sidebarChannelThumbnailSize) Text(channel.name) } else {