mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-12 02:09:12 +08:00
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)),
|
icon: const Icon(Icons.restart_alt_rounded)),
|
||||||
),
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.delete_forever_outlined),
|
icon: const Icon(Icons.close),
|
||||||
splashRadius: kDesktopIconButtonSplashRadius,
|
splashRadius: 1,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
model.jobTable.removeAt(index);
|
model.jobTable.removeAt(index);
|
||||||
model.cancelJob(item.id);
|
model.cancelJob(item.id);
|
||||||
|
@ -335,10 +335,12 @@ class _FileManagerPageState extends State<FileManagerPage> {
|
|||||||
|
|
||||||
breadCrumbScrollToEnd() {
|
breadCrumbScrollToEnd() {
|
||||||
Future.delayed(Duration(milliseconds: 200), () {
|
Future.delayed(Duration(milliseconds: 200), () {
|
||||||
|
if (_breadCrumbScroller.hasClients) {
|
||||||
_breadCrumbScroller.animateTo(
|
_breadCrumbScroller.animateTo(
|
||||||
_breadCrumbScroller.position.maxScrollExtent,
|
_breadCrumbScroller.position.maxScrollExtent,
|
||||||
duration: Duration(milliseconds: 200),
|
duration: Duration(milliseconds: 200),
|
||||||
curve: Curves.fastLinearToSlowEaseIn);
|
curve: Curves.fastLinearToSlowEaseIn);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -479,7 +481,7 @@ class _FileManagerPageState extends State<FileManagerPage> {
|
|||||||
return BottomSheetBody(
|
return BottomSheetBody(
|
||||||
leading: Icon(Icons.check),
|
leading: Icon(Icons.check),
|
||||||
title: "${translate("Successful")}!",
|
title: "${translate("Successful")}!",
|
||||||
text: "",
|
text: model.jobProgress.display(),
|
||||||
onCanceled: () => model.jobReset(),
|
onCanceled: () => model.jobReset(),
|
||||||
);
|
);
|
||||||
case JobState.error:
|
case JobState.error:
|
||||||
|
Loading…
Reference in New Issue
Block a user