mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Code style fixes
This commit is contained in:
@@ -170,7 +170,7 @@ struct ChannelPlaylistView: View {
|
||||
#if os(iOS)
|
||||
.navigationBarTrailing
|
||||
#else
|
||||
.automatic
|
||||
.automatic
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@@ -40,7 +40,7 @@ struct ChannelVideosView: View {
|
||||
}
|
||||
|
||||
var contentItems: [ContentItem] {
|
||||
return contentTypeItems.collection
|
||||
contentTypeItems.collection
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
|
@@ -280,7 +280,7 @@ enum PlayerSidebarSetting: String, CaseIterable, Defaults.Serializable {
|
||||
#if os(macOS)
|
||||
.always
|
||||
#else
|
||||
.whenFits
|
||||
.whenFits
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@@ -223,7 +223,7 @@ struct VideoPlayerView: View {
|
||||
#endif
|
||||
|
||||
#if !os(tvOS)
|
||||
if !fullScreenPlayer && sidebarQueue {
|
||||
if !fullScreenPlayer, sidebarQueue {
|
||||
Spacer()
|
||||
}
|
||||
#endif
|
||||
|
@@ -118,7 +118,7 @@ struct AddToPlaylistView: View {
|
||||
#if os(tvOS)
|
||||
.trailing
|
||||
#else
|
||||
.center
|
||||
.center
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@@ -107,7 +107,7 @@ struct PlaylistVideosView: View {
|
||||
#if os(iOS)
|
||||
.navigationBarTrailing
|
||||
#else
|
||||
.automatic
|
||||
.automatic
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user