Skip to content

Commit

Permalink
#46 it was updated based on kimlik_mobile_iOS.xd file
Browse files Browse the repository at this point in the history
  • Loading branch information
izzet öztürk committed Jun 27, 2018
1 parent 1664371 commit ff4be76
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 39 deletions.
6 changes: 6 additions & 0 deletions kimlic/Assets.xcassets/New_Design/background/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Fingerprint_background.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"preserves-vector-representation" : true
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "simple_background.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"preserves-vector-representation" : true
}
}
Binary file not shown.
62 changes: 28 additions & 34 deletions kimlic/View/TermsAndConditions/TermsAndConditions.storyboard

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions kimlic/View/TermsAndConditions/TermsAndConditionsVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ class TermsAndConditionsVC: UIViewController {
scrollView.alwaysBounceVertical = true
self.scrollView.isDirectionalLockEnabled = true

if nextPage == TermsNavigateTarget.none {
acceptButton.isHidden = true
}else {
acceptButton.backgroundColor = GradiantColor.convertGradientToColour(colors: UIColor.greenGradianteColors, frame: acceptButton.frame, type: .topBottom).color
}
acceptButton.backgroundColor = GradiantColor.convertGradientToColour(colors: UIColor.greenGradianteColors, frame: acceptButton.frame, type: .topBottom).color

// if nextPage == TermsNavigateTarget.none {
// acceptButton.isHidden = true
// }else {
// acceptButton.backgroundColor = GradiantColor.convertGradientToColour(colors: UIColor.greenGradianteColors, frame: acceptButton.frame, type: .topBottom).color
// }
}

@IBAction func acceptButtonPressed(_ sender: Any) {
Expand Down

0 comments on commit ff4be76

Please sign in to comment.