Skip to content

Commit

Permalink
#114 Challenge details screen is now locked when design studio is fin…
Browse files Browse the repository at this point in the history
…ished
  • Loading branch information
kperusko committed Feb 9, 2016
1 parent cb7479a commit eaf86ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ChallengeDetailViewModel {
}

var locked: Bool {
return self.data.designStudio.template
return self.data.designStudio.template || self.data.designStudio.finished
}

func isRowEditable(indexPath: NSIndexPath) -> Bool {
Expand Down

0 comments on commit eaf86ef

Please sign in to comment.