Skip to content

Commit e57872b

Browse files
committed
[UI] update Example app
1 parent 7f1061b commit e57872b

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

Example/Example/Source/View Controllers/IntroductionViewController.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ internal class IntroductionViewController: UIViewController
2525
internal let detailLabel: UILabel = {
2626
let view = UILabel()
2727
view.font = UIFont.systemFont(ofSize: 18.0, weight: .regular)
28-
view.textAlignment = .center
2928
view.numberOfLines = 0
3029

3130
return view
@@ -52,7 +51,7 @@ internal class IntroductionViewController: UIViewController
5251
self.view.addSubview(container)
5352

5453
container.snp.makeConstraints { (make) in
55-
make.edges.equalToSuperview()
54+
make.edges.equalToSuperview().inset(UIEdgeInsets(top: 0.0, left: 16.0, bottom: 0.0, right: 16.0))
5655
}
5756

5857
// Stack view

Example/Example/Source/View Controllers/PageTwoViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ internal final class PageTwoViewController: IntroductionViewController
4848
self.icon.image = UIImage(named: "Plum")
4949
self.titleLabel.text = "👫"
5050
self.detailLabel.text = """
51-
At Plum, we're on a mission to help everyone be financially better off.
51+
At Plum, we're on a mission to help everyone be financially better off.
5252
53-
People all over the world are making bad financial decisions every day, due to lack of financial education, antiquated financial systems and temptation.
53+
People all over the world are making bad financial decisions every day, due to lack of financial education, antiquated financial systems and temptation.
5454
55-
In the UK alone, 50% of people have less than £100 in savings. We believe we can change that with great technology, data science and behavioural theory.
55+
In the UK alone, 50% of people have less than £100 in savings. We believe we can change that with great technology, data science and behavioural theory.
5656
"""
5757

5858
// Close button

0 commit comments

Comments
 (0)