diff --git a/flutter/lib/desktop/pages/file_manager_tab_page.dart b/flutter/lib/desktop/pages/file_manager_tab_page.dart index 39958e88e..2d1b75299 100644 --- a/flutter/lib/desktop/pages/file_manager_tab_page.dart +++ b/flutter/lib/desktop/pages/file_manager_tab_page.dart @@ -40,7 +40,7 @@ class _FileManagerTabPageState extends State { label: params['id'], selectedIcon: selectedIcon, unselectedIcon: unselectedIcon, - onTabCloseButton: () => () => tabController.closeBy(params['id']), + onTabCloseButton: () => tabController.closeBy(params['id']), page: FileManagerPage( key: ValueKey(params['id']), id: params['id'],