Merge pull request #2458 from Heap-Hop/master
Add mobile skipping info & fix mobile breadCrumbScroller has no client error
This commit is contained in:
		
						commit
						12f8d31fbb
					
				| @ -489,8 +489,8 @@ class _FileManagerPageState extends State<FileManagerPage> | ||||
|                                   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); | ||||
|  | ||||
| @ -335,10 +335,12 @@ class _FileManagerPageState extends State<FileManagerPage> { | ||||
| 
 | ||||
|   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<FileManagerPage> { | ||||
|         return BottomSheetBody( | ||||
|           leading: Icon(Icons.check), | ||||
|           title: "${translate("Successful")}!", | ||||
|           text: "", | ||||
|           text: model.jobProgress.display(), | ||||
|           onCanceled: () => model.jobReset(), | ||||
|         ); | ||||
|       case JobState.error: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user