Skip to content

Commit

Permalink
[Student][HOTFIX][R-6.6.0] Temporarily hide submission button on subm…
Browse files Browse the repository at this point in the history
…ission details page (#222)
  • Loading branch information
StephenBrough authored Aug 7, 2019
1 parent 5462a8f commit 5c9bcef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down Expand Up @@ -133,4 +133,4 @@ class SubmissionDetailsEmptyContentView(
context.startActivity(intent)
}
}
}
}

0 comments on commit 5c9bcef

Please sign in to comment.