Merge pull request #4465 from 21pages/fix

fix file transfer tab close
This commit is contained in:
RustDesk 2023-05-24 09:35:22 +08:00 committed by GitHub
commit 0b250901bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
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'],