diff --git a/JellyfinPlayer/ContentView.swift b/JellyfinPlayer/ContentView.swift index 4ce6233c..1c84d973 100644 --- a/JellyfinPlayer/ContentView.swift +++ b/JellyfinPlayer/ContentView.swift @@ -224,7 +224,7 @@ struct ContentView: View { } let cache = SDImageCache(namespace: "tiny") - cache.config.maxMemoryCost = 50 * 1024 * 1024 // 50MB memory + cache.config.maxMemoryCost = 125 * 1024 * 1024 // 125MB memory cache.config.maxDiskSize = 1000 * 1024 * 1024 // 1000MB disk SDImageCachesManager.shared.addCache(cache) SDWebImageManager.defaultImageCache = SDImageCachesManager.shared diff --git a/JellyfinPlayer/EpisodeItemView.swift b/JellyfinPlayer/EpisodeItemView.swift index a9dfdd5e..4b919e4c 100644 --- a/JellyfinPlayer/EpisodeItemView.swift +++ b/JellyfinPlayer/EpisodeItemView.swift @@ -561,7 +561,7 @@ struct EpisodeItemView: View { Spacer().frame(height: 100); }.frame(maxHeight: .infinity) } - }.padding(.top, 12).padding(.leading, UIDevice.current.userInterfaceIdiom == .pad ? 16 : 55).edgesIgnoringSafeArea(.leading) + }.padding(.top, 16).padding(.leading, UIDevice.current.userInterfaceIdiom == .pad ? 16 : 55).edgesIgnoringSafeArea(.leading) } } } diff --git a/JellyfinPlayer/MovieItemView.swift b/JellyfinPlayer/MovieItemView.swift index 3b3de3f0..7a4af16a 100644 --- a/JellyfinPlayer/MovieItemView.swift +++ b/JellyfinPlayer/MovieItemView.swift @@ -607,7 +607,7 @@ struct MovieItemView: View { Spacer().frame(height: 195); }.frame(maxHeight: .infinity) } - }.padding(.top, 12).padding(.leading, UIDevice.current.userInterfaceIdiom == .pad ? 16 : 55).edgesIgnoringSafeArea(.leading) + }.padding(.top, 16).padding(.leading, UIDevice.current.userInterfaceIdiom == .pad ? 16 : 55).edgesIgnoringSafeArea(.leading) } } } diff --git a/JellyfinPlayer/SeasonItemView.swift b/JellyfinPlayer/SeasonItemView.swift index 2f2ebb6d..c76e4776 100644 --- a/JellyfinPlayer/SeasonItemView.swift +++ b/JellyfinPlayer/SeasonItemView.swift @@ -419,17 +419,17 @@ struct SeasonItemView: View { Text(fullItem.Studios.joined(separator: ", ")).font(.footnote).lineLimit(1).foregroundColor(Color.secondary) }.padding(.leading, 16).padding(.trailing,16) } - Spacer().frame(height: 105); + Spacer().frame(height: 125); }.frame(maxHeight: .infinity) - }.padding(.trailing, 55) - }.padding(.top, 12).padding(.leading, UIDevice.current.userInterfaceIdiom == .pad ? 16 : 0) + }.padding(.trailing, UIDevice.current.userInterfaceIdiom == .pad ? 16 : 55).padding(.top, -16) + }.padding(.top, 16).padding(.leading, UIDevice.current.userInterfaceIdiom == .pad ? 16 : 0) } } } } } .navigationBarTitleDisplayMode(.inline) - .navigationTitle(item.Name) + .navigationTitle("\(item.Name) - \(item.SeriesName ?? "")") }.onAppear(perform: loadData) } } diff --git a/JellyfinPlayer/VideoPlayerView.swift b/JellyfinPlayer/VideoPlayerView.swift index 95b748b7..d36533d7 100644 --- a/JellyfinPlayer/VideoPlayerView.swift +++ b/JellyfinPlayer/VideoPlayerView.swift @@ -403,7 +403,7 @@ struct VideoPlayerView: View { } }.frame(width: 20) Spacer() - Text(item.Name).font(.headline).fontWeight(.semibold).foregroundColor(.white).offset(x:-4) + Text(item.Name).font(.headline).fontWeight(.semibold).foregroundColor(.white).offset(x:20) Spacer() Button() { vlcplayer.pause() @@ -445,7 +445,7 @@ struct VideoPlayerView: View { } } label: { Image(systemName: playPauseButtonSystemName).font(.system(size: 55)).foregroundColor(.white) - }.padding(20) + }.padding(20).frame(width: 60, height: 60) Spacer() Button() { vlcplayer.jumpForward(15)