Mercurial > public > simoleon
comparison Simoleon/SubscriptionPaywall.swift @ 75:b6f8661300f2
Added isLocked to CurrencyPairs
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Fri, 30 Jul 2021 15:52:27 +0100 |
parents | a6bddc1066b9 |
children | fd19def1ce3f |
comparison
equal
deleted
inserted
replaced
74:bfb959bee6d7 | 75:b6f8661300f2 |
---|---|
20 Image("Subscription") | 20 Image("Subscription") |
21 .resizable() | 21 .resizable() |
22 .aspectRatio(contentMode: .fit) | 22 .aspectRatio(contentMode: .fit) |
23 .frame(width: 100, height: 100) | 23 .frame(width: 100, height: 100) |
24 .cornerRadius(25) | 24 .cornerRadius(25) |
25 .padding(.top) | |
25 | 26 |
26 Text("Unlock All Access") | 27 Text("Unlock All Access") |
27 .font(.title) | 28 .font(.title) |
28 .fontWeight(.semibold) | 29 .fontWeight(.semibold) |
29 .padding(.top) | 30 .padding(.top) |
71 } | 72 } |
72 } | 73 } |
73 .padding(.bottom) | 74 .padding(.bottom) |
74 .padding(.horizontal, 40) | 75 .padding(.horizontal, 40) |
75 } | 76 } |
77 .navigationBarTitleDisplayMode(.inline) | |
76 .toolbar { | 78 .toolbar { |
77 ToolbarItem(placement: .cancellationAction) { | 79 ToolbarItem(placement: .cancellationAction) { |
78 Button(action: { showingSubscriptionPaywall = false }) { | 80 Button(action: { showingSubscriptionPaywall = false }) { |
79 Text("Cancel") | 81 Text("Cancel") |
80 } | 82 } |
84 } | 86 } |
85 } | 87 } |
86 | 88 |
87 struct SubscriptionPaywall_Previews: PreviewProvider { | 89 struct SubscriptionPaywall_Previews: PreviewProvider { |
88 static var previews: some View { | 90 static var previews: some View { |
89 SubscriptionPaywall(showingSubscriptionPaywall: .constant(false)) | 91 SubscriptionPaywall(showingSubscriptionPaywall: .constant(true)) |
90 } | 92 } |
91 } | 93 } |