mirror of
https://github.com/yattee/yattee.git
synced 2025-01-08 22:07:10 +00:00
Improve recents thumbnails urls
This commit is contained in:
parent
67e32f4da1
commit
f6d3d5504a
@ -20,6 +20,14 @@ struct Constants {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static var recentsChannelThumbnailSize: Double {
|
||||||
|
#if os(macOS)
|
||||||
|
20
|
||||||
|
#else
|
||||||
|
30
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
static var channelDetailsStackSpacing: Double {
|
static var channelDetailsStackSpacing: Double {
|
||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
12
|
12
|
||||||
|
@ -75,7 +75,7 @@ struct RecentNavigationLink<DestinationContent: View>: View {
|
|||||||
channel.thumbnailURLOrCached != nil
|
channel.thumbnailURLOrCached != nil
|
||||||
{
|
{
|
||||||
ChannelAvatarView(channel: channel, subscribedBadge: false)
|
ChannelAvatarView(channel: channel, subscribedBadge: false)
|
||||||
.frame(width: 20, height: 20)
|
.frame(width: Constants.recentsChannelThumbnailSize, height: Constants.recentsChannelThumbnailSize)
|
||||||
|
|
||||||
Text(channel.name)
|
Text(channel.name)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user