From 345bb13c394c36adc85c4f32a6bb669eb225e8a6 Mon Sep 17 00:00:00 2001 From: 21pages Date: Wed, 24 May 2023 09:22:57 +0800 Subject: [PATCH] fix file transfer tab close Signed-off-by: 21pages --- flutter/lib/desktop/pages/file_manager_tab_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'],