From 35aba0f1ee69c4fe715d9d9416ebabe4f6727b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E7=B4=AB=E8=8F=9C?= <25471437+13584452567@users.noreply.github.com> Date: Wed, 16 Oct 2024 21:31:21 +0800 Subject: [PATCH] Update WirelessADB.axaml.cs --- UotanToolbox/Features/Home/WirelessADB.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UotanToolbox/Features/Home/WirelessADB.axaml.cs b/UotanToolbox/Features/Home/WirelessADB.axaml.cs index d7748f17..b58ad7f5 100644 --- a/UotanToolbox/Features/Home/WirelessADB.axaml.cs +++ b/UotanToolbox/Features/Home/WirelessADB.axaml.cs @@ -40,7 +40,7 @@ private async void WConnect(object sender, RoutedEventArgs args) string password = PairingCode.Text; Connect.IsBusy = true; ConnectPanel.IsEnabled = false; - if (!string.IsNullOrEmpty(input) && !string.IsNullOrEmpty(password)) + if (!string.IsNullOrEmpty(input)) { string result = await CallExternalProgram.ADB($"pair {input} {password}"); if (result.Contains("Successfully paired to "))