mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Improve recents thumbnails urls
This commit is contained in:
parent
67e32f4da1
commit
f6d3d5504a
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user