diff --git a/Model/SponsorBlock/SponsorBlockAPI.swift b/Model/SponsorBlock/SponsorBlockAPI.swift index 29685450..971d8683 100644 --- a/Model/SponsorBlock/SponsorBlockAPI.swift +++ b/Model/SponsorBlock/SponsorBlockAPI.swift @@ -54,13 +54,13 @@ final class SponsorBlockAPI: ObservableObject { "still frame or clip which are also seen in other videos by the same creator.").localized() 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": - 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": - return ("For videos which feature music as the primary content.").localized() + return "For videos which feature music as the primary content.".localized() default: return nil diff --git a/Shared/Channels/ChannelPlaylistView.swift b/Shared/Channels/ChannelPlaylistView.swift index 12971592..cd9f2e56 100644 --- a/Shared/Channels/ChannelPlaylistView.swift +++ b/Shared/Channels/ChannelPlaylistView.swift @@ -170,7 +170,7 @@ struct ChannelPlaylistView: View { #if os(iOS) .navigationBarTrailing #else - .automatic + .automatic #endif } diff --git a/Shared/Channels/ChannelVideosView.swift b/Shared/Channels/ChannelVideosView.swift index ff8792ac..6c782dbc 100644 --- a/Shared/Channels/ChannelVideosView.swift +++ b/Shared/Channels/ChannelVideosView.swift @@ -40,7 +40,7 @@ struct ChannelVideosView: View { } var contentItems: [ContentItem] { - return contentTypeItems.collection + contentTypeItems.collection } var body: some View { diff --git a/Shared/Defaults.swift b/Shared/Defaults.swift index f7b6a51b..5c363ab5 100644 --- a/Shared/Defaults.swift +++ b/Shared/Defaults.swift @@ -280,7 +280,7 @@ enum PlayerSidebarSetting: String, CaseIterable, Defaults.Serializable { #if os(macOS) .always #else - .whenFits + .whenFits #endif } } diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index afdf2b45..3abf134e 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -223,7 +223,7 @@ struct VideoPlayerView: View { #endif #if !os(tvOS) - if !fullScreenPlayer && sidebarQueue { + if !fullScreenPlayer, sidebarQueue { Spacer() } #endif diff --git a/Shared/Playlists/AddToPlaylistView.swift b/Shared/Playlists/AddToPlaylistView.swift index d991f432..ff877936 100644 --- a/Shared/Playlists/AddToPlaylistView.swift +++ b/Shared/Playlists/AddToPlaylistView.swift @@ -118,7 +118,7 @@ struct AddToPlaylistView: View { #if os(tvOS) .trailing #else - .center + .center #endif } diff --git a/Shared/Playlists/PlaylistVideosView.swift b/Shared/Playlists/PlaylistVideosView.swift index dcf4c037..4b1556fa 100644 --- a/Shared/Playlists/PlaylistVideosView.swift +++ b/Shared/Playlists/PlaylistVideosView.swift @@ -107,7 +107,7 @@ struct PlaylistVideosView: View { #if os(iOS) .navigationBarTrailing #else - .automatic + .automatic #endif } }