Spaces:
Sleeping
Sleeping
Added elevnlabs
Browse files
app/components/FileManager.tsx
CHANGED
|
@@ -51,7 +51,7 @@ interface FileManagerProps {
|
|
| 51 |
zIndex?: number
|
| 52 |
onOpenFlutterApp?: (appFile: any) => void
|
| 53 |
onOpenApp?: (appId: string) => void
|
| 54 |
-
onOpenTextFile?: (fileData: {content: string, fileName: string, filePath: string, passkey: string}) => void
|
| 55 |
}
|
| 56 |
|
| 57 |
interface FileItem {
|
|
@@ -537,9 +537,9 @@ export function FileManager({ currentPath, onNavigate, onClose, onOpenFlutterApp
|
|
| 537 |
fileContent = fileData?.content || ''
|
| 538 |
}
|
| 539 |
}
|
| 540 |
-
|
| 541 |
console.log('Opening dart file:', file.name, 'Content length:', fileContent.length)
|
| 542 |
-
|
| 543 |
// Open Flutter IDE with the file content
|
| 544 |
if (onOpenApp) {
|
| 545 |
// Store the content temporarily for the Flutter IDE to pick up
|
|
|
|
| 51 |
zIndex?: number
|
| 52 |
onOpenFlutterApp?: (appFile: any) => void
|
| 53 |
onOpenApp?: (appId: string) => void
|
| 54 |
+
onOpenTextFile?: (fileData: { content: string, fileName: string, filePath: string, passkey: string }) => void
|
| 55 |
}
|
| 56 |
|
| 57 |
interface FileItem {
|
|
|
|
| 537 |
fileContent = fileData?.content || ''
|
| 538 |
}
|
| 539 |
}
|
| 540 |
+
|
| 541 |
console.log('Opening dart file:', file.name, 'Content length:', fileContent.length)
|
| 542 |
+
|
| 543 |
// Open Flutter IDE with the file content
|
| 544 |
if (onOpenApp) {
|
| 545 |
// Store the content temporarily for the Flutter IDE to pick up
|