BUILD ISSUES YAY! 😁 😃 😄

This commit is contained in:
Aiden Vigue 2021-06-18 21:38:48 -04:00
parent a4054060e3
commit 6c576b1510
No known key found for this signature in database
GPG Key ID: B9A09843AB079D5B
3 changed files with 7 additions and 11 deletions

View File

@ -50,7 +50,11 @@ struct LandscapeItemElement: View {
ZStack(alignment: .leading) {
if focused && item.userData?.playedPercentage != nil {
Rectangle()
.fill(LinearGradient(colors: [.black, .clear], startPoint: .bottom, endPoint: .top))
.fill(LinearGradient(
gradient: Gradient(colors: [.black, .clear]),
startPoint: .bottom,
endPoint: .top
))
.frame(width: 445, height: 90)
.mask(CutOffShadow())
VStack(alignment: .leading) {

View File

@ -476,7 +476,6 @@
535870752669D60C00D05A09 /* Shared */ = {
isa = PBXGroup;
children = (
62E632F1267D53B00063E547 /* Protocols */,
62EC352A26766657000E9F2D /* Singleton */,
532175392671BCED005491E6 /* ViewModels */,
621338912660106C00A81A2A /* Extensions */,
@ -720,13 +719,6 @@
path = WidgetExtension;
sourceTree = "<group>";
};
62E632F1267D53B00063E547 /* Protocols */ = {
isa = PBXGroup;
children = (
);
path = Protocols;
sourceTree = "<group>";
};
62EC352A26766657000E9F2D /* Singleton */ = {
isa = PBXGroup;
children = (

View File

@ -22,10 +22,10 @@ final class LibraryListViewModel: ViewModel {
libraries.append(.init(name: "Favorites", id: "favorites"))
libraries.append(.init(name: "Genres", id: "genres"))
requsetLibraries()
requestLibraries()
}
func requsetLibraries() {
func requestLibraries() {
UserViewsAPI.getUserViews(userId: SessionManager.current.user.user_id!)
.trackActivity(loading)
.sink(receiveCompletion: { completion in