From 9b685076836e2165373d5ea6e0b37b65ab9e8314 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 20 Apr 2022 23:11:04 +0800 Subject: [PATCH] build 23, and small fix --- lib/pages/file_manager_page.dart | 6 +++--- lib/pages/remote_page.dart | 2 +- pubspec.lock | 2 +- pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pages/file_manager_page.dart b/lib/pages/file_manager_page.dart index c0aacce1b..48205a77e 100644 --- a/lib/pages/file_manager_page.dart +++ b/lib/pages/file_manager_page.dart @@ -31,8 +31,8 @@ class _FileManagerPageState extends State { FFI.connect(widget.id, isFileTransfer: true); WidgetsBinding.instance!.addPostFrameCallback((_) { showLoading(translate('Connecting...')); - _interval = Timer.periodic( - Duration(milliseconds: 30), (timer) => FFI.ffiModel.update(widget.id)); + _interval = Timer.periodic(Duration(milliseconds: 30), + (timer) => FFI.ffiModel.update(widget.id)); }); Wakelock.enable(); } @@ -380,7 +380,7 @@ class _FileManagerPageState extends State { Padding( padding: EdgeInsets.all(2), child: Text( - "${translate("Total")}: ${model.currentDir.entries.length}${translate("items")}", + "${translate("Total")}: ${model.currentDir.entries.length} ${translate("items")}", style: TextStyle(color: MyTheme.darkGray), ), ) diff --git a/lib/pages/remote_page.dart b/lib/pages/remote_page.dart index 8c9d145a0..642d24de8 100644 --- a/lib/pages/remote_page.dart +++ b/lib/pages/remote_page.dart @@ -263,7 +263,7 @@ class _RemotePageState extends State { }, ) ] + - (false + (isDesktop ? [] : [ IconButton( diff --git a/pubspec.lock b/pubspec.lock index 7dae3bba4..af2dde1ed 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -228,7 +228,7 @@ packages: description: path: "." ref: HEAD - resolved-ref: "594530edbac758cde29c614046dcc107345ba791" + resolved-ref: d04ceaa243e7a7883065a41b1008627ceeafc0ff url: "https://github.com/Heap-Hop/flutter_smart_dialog.git" source: git version: "4.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 60ef45c25..a0108a08e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.1.9+22 +version: 1.1.9+23 environment: sdk: ">=2.12.0 <3.0.0"