We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24bcf52 commit 74dcec9Copy full SHA for 74dcec9
1 file changed
presentation/src/main/java/com/threegap/bitnagil/presentation/report/ReportViewModel.kt
@@ -36,14 +36,14 @@ class ReportViewModel @Inject constructor(
36
37
fun updateReportTitle(title: String) {
38
intent {
39
- if (title.length > ReportState.MAX_TITLE_LENGTH) return@intent;
+ if (title.length > ReportState.MAX_TITLE_LENGTH) return@intent
40
reduce { state.copy(reportTitle = title) }
41
}
42
43
44
fun updateReportContent(content: String) {
45
46
- if (content.length > ReportState.MAX_CONTENT_LENGTH) return@intent;
+ if (content.length > ReportState.MAX_CONTENT_LENGTH) return@intent
47
reduce { state.copy(reportContent = content) }
48
49
0 commit comments