Open source CapCut alternative.
TypeScript
fix(ios): the add menu belongs to the top level
David Le69891cd5cff6
diff --git a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/IdeasScreen.swift b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/IdeasScreen.swiftindex 35dd75fb..da8742e8 100644--- a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/IdeasScreen.swift+++ b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/IdeasScreen.swift@@ -44,7 +44,12 @@ struct IdeasScreen: View {)}}- .overlay(alignment: .bottomTrailing) { addMenu }+ // The menu adds to the top level: a link, a camera-roll import, a+ // loose note, a folder. An open folder has its own New note button in+ // the navigation bar, which files into that folder.+ .overlay(alignment: .bottomTrailing) {+ if path.isEmpty { addMenu }+ }.fullScreenCover(item: $ideas.draft) { _ inNoteEditorView(app: app, ideas: ideas, onRecordNote: onRecordNote)}