diff --git a/lib/project_view/sidebar/sidebar.dart b/lib/project_view/sidebar/sidebar.dart index 681e2db..db2e9a4 100644 --- a/lib/project_view/sidebar/sidebar.dart +++ b/lib/project_view/sidebar/sidebar.dart @@ -38,7 +38,7 @@ class _SidebarState extends ConsumerState { final String projectPath = projectDirectory.path; final Directory configDir = Directory(p.join(projectPath, "config")); for (final FileSystemEntity entity in configDir.listSync()) { - if (entity is File) { + if (entity is File && (entity.path.endsWith(".conf"))) { configs.add(entity); }