Mercurial > public > simoleon
comparison Simoleon/Subscription.swift @ 29:c52966834f83
Add localised strings
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Thu, 22 Jul 2021 22:30:54 +0100 |
parents | 4f862c618b44 |
children | f76d0e26c178 |
comparison
equal
deleted
inserted
replaced
28:4f862c618b44 | 29:c52966834f83 |
---|---|
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 | 25 |
26 Text("Unlock all access") | 26 Text("Unlock all access", comment: "Headline in Subscription paywall") |
27 .font(.title) | 27 .font(.title) |
28 .fontWeight(.semibold) | 28 .fontWeight(.semibold) |
29 .padding(.top) | 29 .padding(.top) |
30 } | 30 } |
31 | 31 |
73 .padding(.bottom) | 73 .padding(.bottom) |
74 .padding(.horizontal, 40) | 74 .padding(.horizontal, 40) |
75 } | 75 } |
76 .toolbar { | 76 .toolbar { |
77 ToolbarItem(placement: .cancellationAction) { | 77 ToolbarItem(placement: .cancellationAction) { |
78 Button("Cancel", action: { showingSubscriptionPaywall = false }) | 78 Button(action: { showingSubscriptionPaywall = false }) { |
79 Text("Cancel", comment: "Button to dismiss paywall modal sheet") | |
80 } | |
79 } | 81 } |
80 } | 82 } |
81 } | 83 } |
82 } | 84 } |
83 } | 85 } |