From fdb9d212b86273d5f0de45efee195780b5bcc9c1 Mon Sep 17 00:00:00 2001 From: mujianwu Date: Sat, 4 Jan 2025 16:06:31 +0800 Subject: [PATCH] Update ModifypartitionView.axaml.cs --- .../Features/Modifypartition/ModifypartitionView.axaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UotanToolbox/Features/Modifypartition/ModifypartitionView.axaml.cs b/UotanToolbox/Features/Modifypartition/ModifypartitionView.axaml.cs index 0421eb6..460a451 100644 --- a/UotanToolbox/Features/Modifypartition/ModifypartitionView.axaml.cs +++ b/UotanToolbox/Features/Modifypartition/ModifypartitionView.axaml.cs @@ -196,6 +196,7 @@ private async void ReadPart(object sender, RoutedEventArgs args) BusyPart.IsBusy = true; ReadPartBut.IsEnabled = false; PartList.ItemsSource = null; + PartSize.Text = ""; Global.checkdevice = false; string allinfo = await CallExternalProgram.Fastboot($"-s {Global.thisdevice} getvar all"); string[] parts = new string[1000]; @@ -226,6 +227,7 @@ private async void ReadPart(object sender, RoutedEventArgs args) BusyPart.IsBusy = true; ReadPartBut.IsEnabled = false; PartList.ItemsSource = null; + PartSize.Text = ""; Global.checkdevice = false; string allinfo = await CallExternalProgram.Fastboot($"-s {Global.thisdevice} getvar all"); string[] parts = new string[1000];