From eaf86ef5e9a084d6104596abf8bf04adaf120b49 Mon Sep 17 00:00:00 2001 From: Kristijan Perusko Date: Tue, 9 Feb 2016 15:39:21 -0500 Subject: [PATCH] #114 Challenge details screen is now locked when design studio is finished --- DesignStudioExpress/ViewModels/ChallengeDetailViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DesignStudioExpress/ViewModels/ChallengeDetailViewModel.swift b/DesignStudioExpress/ViewModels/ChallengeDetailViewModel.swift index 2d5d170..29a7c8f 100644 --- a/DesignStudioExpress/ViewModels/ChallengeDetailViewModel.swift +++ b/DesignStudioExpress/ViewModels/ChallengeDetailViewModel.swift @@ -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 {