From a0b68862fce1bdfc34142cf704b8d5065d0b6997 Mon Sep 17 00:00:00 2001
From: Junyuan Feng
Date: Fri, 2 Dec 2022 21:39:33 +0800
Subject: [PATCH] fix auto hide IME
---
.fvm/fvm_config.json | 4 ----
.gitignore | 2 +-
.vscode/settings.json | 6 +++---
README.md | 26 +++++++++++++-------------
ios/Runner.xcodeproj/project.pbxproj | 12 ++++++------
lib/data/res/build_data.dart | 8 ++++----
lib/view/page/ping.dart | 1 +
macos/Runner.xcodeproj/project.pbxproj | 12 ++++++------
8 files changed, 34 insertions(+), 37 deletions(-)
delete mode 100644 .fvm/fvm_config.json
diff --git a/.fvm/fvm_config.json b/.fvm/fvm_config.json
deleted file mode 100644
index 86d87fce..00000000
--- a/.fvm/fvm_config.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "flutterSdkVersion": "3.3.4",
- "flavors": {}
-}
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 6d5b5195..c38fdf8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,4 +48,4 @@ app.*.map.json
/android/app/fjy.androidstudio.key
/release
test.dart
-.fvm/flutter_sdk
\ No newline at end of file
+.fvm
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 0e6ea20d..f80add36 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,9 +1,9 @@
{
- "dart.flutterSdkPath": ".fvm/flutter_sdk",
- "search.exclude": {
+ "dart.flutterSdkPath": ".fvm",
+ "files.watcherExclude": {
"**/.fvm": true
},
- "files.watcherExclude": {
+ "search.exclude": {
"**/.fvm": true
}
}
\ No newline at end of file
diff --git a/README.md b/README.md
index 57920c7a..b77d75a6 100644
--- a/README.md
+++ b/README.md
@@ -8,13 +8,13 @@
-
+
-A Flutter project which provide charts to display server status and tools to manage server. Especially thanks to dartssh2.
+A Flutter project which provide charts to display server status and tools to manage server.
Especially thanks to dartssh2.
@@ -28,36 +28,36 @@ A Flutter project which provide charts to display server status and tools to man
## 🖥 Platform
-Status|Platform
---|--|
-Full Support|Android/iOS/macOS
-Support, but not tested|Windows/Linux
+| Status | Platform |
+| ----------------------- | ----------------- |
+| Full Support | Android/iOS/macOS |
+| Support, but not tested | Windows/Linux |
## 📝 License
-`LGPL License. LollipopKit 2021`
+`LGPL License. lollipopkit 2021`
diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
index 02b77100..a7505edf 100644
--- a/ios/Runner.xcodeproj/project.pbxproj
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -354,7 +354,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = 159;
+ CURRENT_PROJECT_VERSION = 160;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
@@ -362,7 +362,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 1.0.159;
+ MARKETING_VERSION = 1.0.160;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -484,7 +484,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = 159;
+ CURRENT_PROJECT_VERSION = 160;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
@@ -492,7 +492,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 1.0.159;
+ MARKETING_VERSION = 1.0.160;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -508,7 +508,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = 159;
+ CURRENT_PROJECT_VERSION = 160;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
@@ -516,7 +516,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 1.0.159;
+ MARKETING_VERSION = 1.0.160;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
diff --git a/lib/data/res/build_data.dart b/lib/data/res/build_data.dart
index 8c8da50d..423a06ec 100644
--- a/lib/data/res/build_data.dart
+++ b/lib/data/res/build_data.dart
@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
- static const int build = 159;
+ static const int build = 160;
static const String engine =
- "Flutter 3.3.4 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision eb6d86ee27 (5 weeks ago) • 2022-10-04 22:31:45 -0700\nEngine • revision c08d7d5efc\nTools • Dart 2.18.2 • DevTools 2.15.0\n";
- static const String buildAt = "2022-11-07 19:55:21.553007";
- static const int modifications = 0;
+ "Flutter 3.3.4 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision eb6d86ee27 (7 weeks ago) • 2022-10-04 22:31:45 -0700\nEngine • revision c08d7d5efc\nTools • Dart 2.18.2 • DevTools 2.15.0\n";
+ static const String buildAt = "2022-11-21 20:31:38.507008";
+ static const int modifications = 8;
}
diff --git a/lib/view/page/ping.dart b/lib/view/page/ping.dart
index e04132bb..0aac02c2 100644
--- a/lib/view/page/ping.dart
+++ b/lib/view/page/ping.dart
@@ -114,6 +114,7 @@ class _PingPageState extends State
}
Future doPing() async {
+ FocusScope.of(context).requestFocus(FocusNode());
_results.clear();
final target = _textEditingController.text.trim();
if (target.isEmpty) {
diff --git a/macos/Runner.xcodeproj/project.pbxproj b/macos/Runner.xcodeproj/project.pbxproj
index 1451a18a..ef81a8ae 100644
--- a/macos/Runner.xcodeproj/project.pbxproj
+++ b/macos/Runner.xcodeproj/project.pbxproj
@@ -420,14 +420,14 @@
CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 159;
+ CURRENT_PROJECT_VERSION = 160;
DEVELOPMENT_TEAM = BA88US33G6;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
- MARKETING_VERSION = 1.0.159;
+ MARKETING_VERSION = 1.0.160;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
@@ -550,14 +550,14 @@
CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 159;
+ CURRENT_PROJECT_VERSION = 160;
DEVELOPMENT_TEAM = BA88US33G6;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
- MARKETING_VERSION = 1.0.159;
+ MARKETING_VERSION = 1.0.160;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -574,14 +574,14 @@
CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 159;
+ CURRENT_PROJECT_VERSION = 160;
DEVELOPMENT_TEAM = BA88US33G6;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
- MARKETING_VERSION = 1.0.159;
+ MARKETING_VERSION = 1.0.160;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;