Skip to content

Commit

Permalink
correction on submittedANswerViewmodel
Browse files Browse the repository at this point in the history
  • Loading branch information
subhajitxyz committed Jan 11, 2025
1 parent 60fe869 commit 6123823
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ class SubmittedAnswerViewModel(
if (this === other) return true
if (other !is SubmittedAnswerViewModel) return false
return (
isCorrectAnswer == other.isCorrectAnswer &&
submittedAnswer == other.submittedAnswer &&
isCorrectAnswer.get() == other.isCorrectAnswer.get() &&
submittedAnswer.get() == other.submittedAnswer.get() &&
isExtraInteractionAnswerCorrect.get() == other.isExtraInteractionAnswerCorrect.get() &&
submittedAnswerContentDescription.get() == other.submittedAnswerContentDescription.get() &&
isSplitView == other.isSplitView &&
Expand All @@ -85,8 +85,8 @@ class SubmittedAnswerViewModel(
}
//subha hint
override fun toString(): String {
return "TextInputViewModel(isCorrectAnswer='$isCorrectAnswer', " +
"submittedAnswer=$submittedAnswer, " +
return "SubmittedAnswerViewModel(isCorrectAnswer='${isCorrectAnswer.get()}', " +
"submittedAnswer=${submittedAnswer.get()}, " +
"isExtraInteractionAnswerCorrect=${isExtraInteractionAnswerCorrect.get()}, " +
"submittedAnswerContentDescription='${submittedAnswerContentDescription.get()}', " +
"isSplitView=${isSplitView}, " +
Expand Down

0 comments on commit 6123823

Please sign in to comment.