mirror of
https://github.com/yattee/yattee.git
synced 2025-08-04 01:34:10 +00:00
Improve recents thumbnails urls
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user