Add maxLines and overflow properties to file name display for better UI handling

This commit is contained in:
Leon Bösche
2026-01-24 05:14:41 +01:00
parent deb8b50bb9
commit 17cc47f22d

View File

@@ -1275,6 +1275,8 @@ class _FileExplorerState extends State<FileExplorer>
file.type == FileType.folder
? (file.name.startsWith('/') ? file.name : '/${file.name}')
: file.name,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(color: AppTheme.primaryText),
),
subtitle: Text(