mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Code style fixes
This commit is contained in:
parent
8ef016d792
commit
5db74a3997
@ -54,13 +54,13 @@ final class SponsorBlockAPI: ObservableObject {
|
|||||||
"still frame or clip which are also seen in other videos by the same creator.").localized()
|
"still frame or clip which are also seen in other videos by the same creator.").localized()
|
||||||
|
|
||||||
case "outro":
|
case "outro":
|
||||||
return ("Typically near or at the end of the video when the credits pop up and/or endcards are shown.").localized()
|
return "Typically near or at the end of the video when the credits pop up and/or endcards are shown.".localized()
|
||||||
|
|
||||||
case "interaction":
|
case "interaction":
|
||||||
return ("Explicit reminders to like, subscribe or interact with them on any paid or free platform(s) (e.g. click on a video).").localized()
|
return "Explicit reminders to like, subscribe or interact with them on any paid or free platform(s) (e.g. click on a video).".localized()
|
||||||
|
|
||||||
case "music_offtopic":
|
case "music_offtopic":
|
||||||
return ("For videos which feature music as the primary content.").localized()
|
return "For videos which feature music as the primary content.".localized()
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return nil
|
return nil
|
||||||
|
@ -170,7 +170,7 @@ struct ChannelPlaylistView: View {
|
|||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
.navigationBarTrailing
|
.navigationBarTrailing
|
||||||
#else
|
#else
|
||||||
.automatic
|
.automatic
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ struct ChannelVideosView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var contentItems: [ContentItem] {
|
var contentItems: [ContentItem] {
|
||||||
return contentTypeItems.collection
|
contentTypeItems.collection
|
||||||
}
|
}
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
@ -280,7 +280,7 @@ enum PlayerSidebarSetting: String, CaseIterable, Defaults.Serializable {
|
|||||||
#if os(macOS)
|
#if os(macOS)
|
||||||
.always
|
.always
|
||||||
#else
|
#else
|
||||||
.whenFits
|
.whenFits
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -223,7 +223,7 @@ struct VideoPlayerView: View {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !os(tvOS)
|
#if !os(tvOS)
|
||||||
if !fullScreenPlayer && sidebarQueue {
|
if !fullScreenPlayer, sidebarQueue {
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -118,7 +118,7 @@ struct AddToPlaylistView: View {
|
|||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
.trailing
|
.trailing
|
||||||
#else
|
#else
|
||||||
.center
|
.center
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ struct PlaylistVideosView: View {
|
|||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
.navigationBarTrailing
|
.navigationBarTrailing
|
||||||
#else
|
#else
|
||||||
.automatic
|
.automatic
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user