diff --git a/flutter/lib/desktop/pages/file_manager_page.dart b/flutter/lib/desktop/pages/file_manager_page.dart index b2e5232ab..9d8ef6f7a 100644 --- a/flutter/lib/desktop/pages/file_manager_page.dart +++ b/flutter/lib/desktop/pages/file_manager_page.dart @@ -489,8 +489,8 @@ class _FileManagerPageState extends State icon: const Icon(Icons.restart_alt_rounded)), ), IconButton( - icon: const Icon(Icons.delete_forever_outlined), - splashRadius: kDesktopIconButtonSplashRadius, + icon: const Icon(Icons.close), + splashRadius: 1, onPressed: () { model.jobTable.removeAt(index); model.cancelJob(item.id); diff --git a/flutter/lib/mobile/pages/file_manager_page.dart b/flutter/lib/mobile/pages/file_manager_page.dart index 73df2cb01..549a44b78 100644 --- a/flutter/lib/mobile/pages/file_manager_page.dart +++ b/flutter/lib/mobile/pages/file_manager_page.dart @@ -335,10 +335,12 @@ class _FileManagerPageState extends State { breadCrumbScrollToEnd() { Future.delayed(Duration(milliseconds: 200), () { - _breadCrumbScroller.animateTo( - _breadCrumbScroller.position.maxScrollExtent, - duration: Duration(milliseconds: 200), - curve: Curves.fastLinearToSlowEaseIn); + if (_breadCrumbScroller.hasClients) { + _breadCrumbScroller.animateTo( + _breadCrumbScroller.position.maxScrollExtent, + duration: Duration(milliseconds: 200), + curve: Curves.fastLinearToSlowEaseIn); + } }); } @@ -479,7 +481,7 @@ class _FileManagerPageState extends State { return BottomSheetBody( leading: Icon(Icons.check), title: "${translate("Successful")}!", - text: "", + text: model.jobProgress.display(), onCanceled: () => model.jobReset(), ); case JobState.error: