1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-27 23:40:35 +05:30

Add channel view help labels

This commit is contained in:
Arkadiusz Fal 2023-12-09 21:58:45 +01:00
parent aef0ba6ffd
commit 37d3f43596

View File

@ -364,6 +364,7 @@ struct ChannelVideosView: View {
} }
} label: { } label: {
Label("Unsubscribe", systemImage: "xmark.circle") Label("Unsubscribe", systemImage: "xmark.circle")
.help("Unsubscribe")
#if os(iOS) #if os(iOS)
.labelStyle(.automatic) .labelStyle(.automatic)
#else #else
@ -380,6 +381,7 @@ struct ChannelVideosView: View {
} }
} label: { } label: {
Label("Subscribe", systemImage: "circle") Label("Subscribe", systemImage: "circle")
.help("Subscribe")
#if os(iOS) #if os(iOS)
.labelStyle(.automatic) .labelStyle(.automatic)
#else #else
@ -413,6 +415,7 @@ struct ChannelVideosView: View {
feed.markChannelAsWatched(channel.id) feed.markChannelAsWatched(channel.id)
} label: { } label: {
Label("Mark channel feed as watched", systemImage: "checkmark.circle.fill") Label("Mark channel feed as watched", systemImage: "checkmark.circle.fill")
.help("Mark channel feed as watched")
} }
.disabled(!feed.canMarkAllFeedAsWatched) .disabled(!feed.canMarkAllFeedAsWatched)
} }
@ -423,6 +426,7 @@ struct ChannelVideosView: View {
feed.markChannelAsUnwatched(channel.id) feed.markChannelAsUnwatched(channel.id)
} label: { } label: {
Label("Mark channel feed as unwatched", systemImage: "checkmark.circle") Label("Mark channel feed as unwatched", systemImage: "checkmark.circle")
.help("Mark channel feed as unwatched")
} }
} }