comparison Simoleon/UI/Flag.swift @ 160:0c589138a6f3

Implement Conversion Box
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Sun, 29 Aug 2021 19:04:34 +0100
parents 84137052813d
children
comparison
equal deleted inserted replaced
159:35628bac01f5 160:0c589138a6f3
12 12
13 var body: some View { 13 var body: some View {
14 Image(flag) 14 Image(flag)
15 .resizable() 15 .resizable()
16 .aspectRatio(contentMode: .fill) 16 .aspectRatio(contentMode: .fill)
17 .frame(width: 30, height: 30) 17 .frame(width: 35, height: 35)
18 .clipShape(Circle()) 18 .clipShape(Circle())
19 .overlay(Circle().stroke(Color(.secondaryLabel), lineWidth: 1))
20 } 19 }
21 } 20 }
22 21
23 struct Flag_Previews: PreviewProvider { 22 struct Flag_Previews: PreviewProvider {
24 static var previews: some View { 23 static var previews: some View {