performance

This commit is contained in:
Aiden Vigue 2021-06-03 12:09:05 -04:00
parent 16569ca663
commit 16f5176da9
No known key found for this signature in database
GPG Key ID: E7570472648F4544
3 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@ extension JellyfinAPI: TargetType {
var parameters = filter.toParamters
parameters["searchTerm"] = searchQuery
parameters["StartIndex"] = (page - 1) * 100
parameters["Limit"] = 100
parameters["Limit"] = 60
return .requestParameters(parameters: parameters, encoding: URLEncoding.jellyfin)
case let .items(_, filter, page):
var parameters = filter.toParamters

View File

@ -259,7 +259,7 @@ struct EpisodeItemView: View {
}
}
}
.padding(.bottom, UIDevice.current.userInterfaceIdiom == .pad ? 98 : 26)
.padding(.bottom, UIDevice.current.userInterfaceIdiom == .pad ? 98 : 30)
}
HStack {
// Play button

View File

@ -349,7 +349,7 @@ struct MovieItemView: View {
}
}
}
.padding(.bottom, UIDevice.current.userInterfaceIdiom == .pad ? 98 : 26)
.padding(.bottom, UIDevice.current.userInterfaceIdiom == .pad ? 98 : 30)
}
HStack {
// Play button