Skip to content

Commit

Permalink
change addRecord starter image
Browse files Browse the repository at this point in the history
  • Loading branch information
novinfard committed Apr 28, 2018
1 parent 5c59139 commit a58e76c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion SmartWallet/RecordsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ class RecordsViewController: UITableViewController, NSFetchedResultsControllerDe
if fetchedResultsController.fetchedObjects?.count == 0 {
let coverImage = UIImage(named: "AddFirstRecord")!
coverImageView.image = coverImage
coverImageView.frame = CGRect(x: 20, y: 5, width: tableView.frame.width-20, height: 100)
coverImageView.contentMode = .scaleAspectFit
coverImageView.frame = CGRect(x: 20, y: 5, width: tableView.frame.width-20, height: 300)
view.addSubview(coverImageView)

} else {
Expand Down

0 comments on commit a58e76c

Please sign in to comment.