Skip to content

Open source CapCut alternative.

TypeScript

fix(ios): glass viewer controls stay white on any frame

David Le225fdb5c138f
diff --git a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/IdeasScreen.swift b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/IdeasScreen.swift
index 167f43f2..937808fd 100644
--- a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/IdeasScreen.swift
+++ b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/IdeasScreen.swift
@@ -738,6 +738,7 @@ struct InspirationViewer: View {
Button { dismiss() } label: {
Image(systemName: "xmark")
.font(.title3.weight(.bold))
+ .foregroundStyle(.white)
.frame(width: 40, height: 40)
}
.glassEffect(.regular.interactive())
@@ -749,6 +750,7 @@ struct InspirationViewer: View {
} label: {
Image(systemName: "ellipsis")
.font(.title3.weight(.bold))
+ .foregroundStyle(.white)
.frame(width: 40, height: 40)
}
.glassEffect(.regular.interactive())
diff --git a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/MediaScreen.swift b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/MediaScreen.swift
index e60cf0a2..56a81b04 100644
--- a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/MediaScreen.swift
+++ b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/MediaScreen.swift
@@ -297,6 +297,7 @@ struct RecordingPlayerView: View {
Text("Library")
.font(.subheadline.weight(.semibold))
}
+ .foregroundStyle(.white)
.padding(.horizontal, 14)
.frame(height: 40)
}
@@ -308,6 +309,7 @@ struct RecordingPlayerView: View {
ShareLink(item: url) {
Image(systemName: "square.and.arrow.up")
.font(.title3.weight(.bold))
+ .foregroundStyle(.white)
.frame(width: 40, height: 40)
}
.glassEffect(.regular.interactive())
@@ -332,6 +334,7 @@ struct RecordingPlayerView: View {
} label: {
Image(systemName: "xmark")
.font(.title3.weight(.bold))
+ .foregroundStyle(.white)
.frame(width: 40, height: 40)
}
.glassEffect(.regular.interactive())