diff LazyBear/Views/Profile/Helpers/WatchlistCreatorSearchBar.swift @ 417:5f21f7c23c5e

Add comments and clean code
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Fri, 11 Jun 2021 11:37:42 +0200
parents 0a4c399170c4
children
line wrap: on
line diff
--- a/LazyBear/Views/Profile/Helpers/WatchlistCreatorSearchBar.swift	Wed Jun 09 20:26:28 2021 +0200
+++ b/LazyBear/Views/Profile/Helpers/WatchlistCreatorSearchBar.swift	Fri Jun 11 11:37:42 2021 +0200
@@ -13,9 +13,9 @@
     
     var body: some View {
         TextField("", text: $searchedCompany)
-        .introspectTextField { textField in
-            textField.becomeFirstResponder()
-        }
+            .introspectTextField { textField in
+                textField.becomeFirstResponder()
+            }
             .padding(10)
             .padding(.leading, 40)
             .overlay(
@@ -30,6 +30,7 @@
                     .cornerRadius(10)
             )
             .padding()
+        
     }
 }