Delete unnecessary passwordItem 35/282935/1
authorchaehee-hong <chaehee.hong@samsung.com>
Thu, 13 Oct 2022 10:03:06 +0000 (19:03 +0900)
committerchaehee-hong <chaehee.hong@samsung.com>
Thu, 13 Oct 2022 10:03:06 +0000 (19:03 +0900)
Change-Id: I5213b163cc5ceda20c7622c05cce43e051552f32

SettingWiFi/SettingWiFi/view/ConnectPage.cs

index 19ca8e09049faa642e34733a21b71473f94715e8..d6086fe4cfe79dd78244af27d9780413c36e5cae 100644 (file)
@@ -21,13 +21,6 @@ namespace SettingWiFi
 
         internal TextField CreatePasswordField()
         {
-            var passwordItem = new DefaultLinearItem()
-            {
-                WidthSpecification = LayoutParamPolicies.MatchParent,
-                IsSelectable = false,
-            };
-            passwordItem.Label.HorizontalAlignment = HorizontalAlignment.Begin;
-
             var passwordField = new TextField()
             {
                 WidthSpecification = 600,
@@ -41,7 +34,6 @@ namespace SettingWiFi
             hiddenInput.SubstituteCount = 0;
             hiddenInput.ShowLastCharacterDuration = 1000;
             passwordField.SetHiddenInput(hiddenInput);
-            passwordItem.Add(passwordField);
 
             return passwordField;
         }