BUILD ISSUES YAY! 😁 😃 😄
This commit is contained in:
parent
a4054060e3
commit
6c576b1510
|
@ -50,7 +50,11 @@ struct LandscapeItemElement: View {
|
||||||
ZStack(alignment: .leading) {
|
ZStack(alignment: .leading) {
|
||||||
if focused && item.userData?.playedPercentage != nil {
|
if focused && item.userData?.playedPercentage != nil {
|
||||||
Rectangle()
|
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)
|
.frame(width: 445, height: 90)
|
||||||
.mask(CutOffShadow())
|
.mask(CutOffShadow())
|
||||||
VStack(alignment: .leading) {
|
VStack(alignment: .leading) {
|
||||||
|
|
|
@ -476,7 +476,6 @@
|
||||||
535870752669D60C00D05A09 /* Shared */ = {
|
535870752669D60C00D05A09 /* Shared */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
62E632F1267D53B00063E547 /* Protocols */,
|
|
||||||
62EC352A26766657000E9F2D /* Singleton */,
|
62EC352A26766657000E9F2D /* Singleton */,
|
||||||
532175392671BCED005491E6 /* ViewModels */,
|
532175392671BCED005491E6 /* ViewModels */,
|
||||||
621338912660106C00A81A2A /* Extensions */,
|
621338912660106C00A81A2A /* Extensions */,
|
||||||
|
@ -720,13 +719,6 @@
|
||||||
path = WidgetExtension;
|
path = WidgetExtension;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
62E632F1267D53B00063E547 /* Protocols */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
);
|
|
||||||
path = Protocols;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
62EC352A26766657000E9F2D /* Singleton */ = {
|
62EC352A26766657000E9F2D /* Singleton */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
|
|
@ -22,10 +22,10 @@ final class LibraryListViewModel: ViewModel {
|
||||||
|
|
||||||
libraries.append(.init(name: "Favorites", id: "favorites"))
|
libraries.append(.init(name: "Favorites", id: "favorites"))
|
||||||
libraries.append(.init(name: "Genres", id: "genres"))
|
libraries.append(.init(name: "Genres", id: "genres"))
|
||||||
requsetLibraries()
|
requestLibraries()
|
||||||
}
|
}
|
||||||
|
|
||||||
func requsetLibraries() {
|
func requestLibraries() {
|
||||||
UserViewsAPI.getUserViews(userId: SessionManager.current.user.user_id!)
|
UserViewsAPI.getUserViews(userId: SessionManager.current.user.user_id!)
|
||||||
.trackActivity(loading)
|
.trackActivity(loading)
|
||||||
.sink(receiveCompletion: { completion in
|
.sink(receiveCompletion: { completion in
|
||||||
|
|
Loading…
Reference in New Issue