Resolve backbutton on details page not working if name is unchanged 26/299226/1 accepted/tizen/8.0/unified/20231005.095753 accepted/tizen/unified/20230926.090228
authorAkash Kumar <akash1.kumar@samsung.com>
Fri, 22 Sep 2023 04:57:58 +0000 (10:27 +0530)
committerAkash Kumar <akash1.kumar@samsung.com>
Fri, 22 Sep 2023 04:57:58 +0000 (10:27 +0530)
Change-Id: Ib213079863d786e449dc90c5a8442b8aa3f486ab
Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
SettingBluetooth/SettingBluetooth/View/BtDetailView.cs
packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk

index 85e6cdead4f96cd9e15553fb913e363a69a7ae2d..68cc7a29a53c4f2b4c78386a292cbbdf7501cd89 100644 (file)
@@ -125,11 +125,7 @@ namespace SettingBluetooth
 
         private static void OnBackClicked(object sender, ClickedEventArgs e)
         {
-            if (mDeviceNameField.Text == mDevice.Name)
-            {
-                return;
-            }
-            if (mDeviceNameField.Text.Length > 0)
+            if (mDeviceNameField.Text != mDevice.Name && mDeviceNameField.Text.Length > 0)
             {
                 mDevice.Name = mDeviceNameField.Text;
             }
index 95730eca34af3c445050f376b764644f71c23bcb..fd01610b8f3724a5adb08385ab6e7fb3f83c1ab9 100644 (file)
Binary files a/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk and b/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk differ