Open source CapCut alternative.
TypeScript
fix(ios): the projects grid drops the play button
David Le858288276316
diff --git a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/ProjectsScreen.swift b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/ProjectsScreen.swiftindex 0ed0c7af..17d46f38 100644--- a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/ProjectsScreen.swift+++ b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/ProjectsScreen.swift@@ -72,16 +72,6 @@ struct ProjectCard: View {.resizable().scaledToFill()}- Circle()- .fill(ready ? AnyShapeStyle(Color.accentBlue) : AnyShapeStyle(.black.opacity(0.35)))- .frame(width: 46, height: 46)- .overlay {- Image(systemName: "play.fill")- .font(.body.weight(.bold))- .foregroundStyle(.white)- .offset(x: 2)- }- .animation(.snappy(duration: 0.2), value: ready)}.overlay(alignment: .topLeading) {ProjectTag(text: formattedDuration(project.duration))@@ -96,14 +86,6 @@ struct ProjectCard: View {.frame(maxWidth: .infinity)}- /// The render this card plays is in hand. The play button is grey while- /// the listing is still resolving what a tap would stream and turns blue- /// once it has it.- private var ready: Bool {- if case .ready = project.export { return true }- return false- }-/// The card's name line. A project whose render the last listing did not/// see still opens: the player reads the project again on the way in.private var caption: String {