comparison Simoleon/Helpers/SearchBar.swift @ 95:04feeb708833

Minor UI updates
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Tue, 03 Aug 2021 15:02:40 +0100
parents bfb959bee6d7
children
comparison
equal deleted inserted replaced
94:507ed393a72c 95:04feeb708833
16 TextField(placeholder, text: $text) 16 TextField(placeholder, text: $text)
17 .disableAutocorrection(true) 17 .disableAutocorrection(true)
18 .padding(10) 18 .padding(10)
19 .background( 19 .background(
20 RoundedRectangle(cornerRadius: 15) 20 RoundedRectangle(cornerRadius: 15)
21 .foregroundColor(Color(.systemGray6)) 21 .foregroundColor(Color(.tertiarySystemFill))
22 ) 22 )
23 } 23 }
24 } 24 }
25 25
26 struct SearchBar_Previews: PreviewProvider { 26 struct SearchBar_Previews: PreviewProvider {