From 5c9bcef3f1d83b0f7b609b5df203e57fe7e67d46 Mon Sep 17 00:00:00 2001 From: Stephen Brough Date: Wed, 7 Aug 2019 14:41:43 -0600 Subject: [PATCH] [Student][HOTFIX][R-6.6.0] Temporarily hide submission button on submission details page (#222) --- .../emptySubmission/ui/SubmissionDetailsEmptyContentView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/student/src/main/java/com/instructure/student/mobius/assignmentDetails/submissionDetails/content/emptySubmission/ui/SubmissionDetailsEmptyContentView.kt b/apps/student/src/main/java/com/instructure/student/mobius/assignmentDetails/submissionDetails/content/emptySubmission/ui/SubmissionDetailsEmptyContentView.kt index 653c91494f..74b9d30c9b 100644 --- a/apps/student/src/main/java/com/instructure/student/mobius/assignmentDetails/submissionDetails/content/emptySubmission/ui/SubmissionDetailsEmptyContentView.kt +++ b/apps/student/src/main/java/com/instructure/student/mobius/assignmentDetails/submissionDetails/content/emptySubmission/ui/SubmissionDetailsEmptyContentView.kt @@ -63,7 +63,7 @@ class SubmissionDetailsEmptyContentView( is Loaded -> { title.text = if (state.isAllowedToSubmit) context.getString(R.string.submissionDetailsNoSubmissionYet) else context.getString(R.string.submissionDetailsAssignmentLocked) message.text = state.dueDateText - submitButton.setHidden(state.isAllowedToSubmit) + submitButton.setHidden(false) // TODO: MBL-12929 - use state.isAllowedToSubmit instead of false } } } @@ -133,4 +133,4 @@ class SubmissionDetailsEmptyContentView( context.startActivity(intent) } } -} \ No newline at end of file +}