Improve recents thumbnails urls

This commit is contained in:
Arkadiusz Fal 2022-12-15 12:09:16 +01:00
parent 67e32f4da1
commit f6d3d5504a
2 changed files with 9 additions and 1 deletions

View File

@ -20,6 +20,14 @@ struct Constants {
#endif
}
static var recentsChannelThumbnailSize: Double {
#if os(macOS)
20
#else
30
#endif
}
static var channelDetailsStackSpacing: Double {
#if os(tvOS)
12

View File

@ -75,7 +75,7 @@ struct RecentNavigationLink<DestinationContent: View>: View {
channel.thumbnailURLOrCached != nil
{
ChannelAvatarView(channel: channel, subscribedBadge: false)
.frame(width: 20, height: 20)
.frame(width: Constants.recentsChannelThumbnailSize, height: Constants.recentsChannelThumbnailSize)
Text(channel.name)
} else {