Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

feat(ui): New project asks a phone for no location

Jareer3e7250bc8a1c
diff --git a/src/crates/concat/ui/start.slint b/src/crates/concat/ui/start.slint
index 190ceb92..a1d1eb75 100644
--- a/src/crates/concat/ui/start.slint
+++ b/src/crates/concat/ui/start.slint
@@ -1287,21 +1287,14 @@ export component NewProjectDialog inherits Modal {
}
}
- FormRow {
+ // A desk's question. A phone keeps its projects in the app's own
+ // folder, as every phone editor does, and a path there is nothing
+ // anybody can browse to, so the row is not shown.
+ if !root.phone: FormRow {
label: I18n.upper("start.location");
stacked: root.narrow;
- // On a phone the folder is the app's own, shown and not typed.
- if root.phone: Text {
- text: root.data.location;
- color: Theme.fg-muted;
- font-size: Theme.fs;
- font-family: Theme.font-technical;
- vertical-alignment: center;
- overflow: elide;
- }
-
- if !root.phone: HorizontalLayout {
+ HorizontalLayout {
spacing: 12px;
PlainInput {