aboutsummaryrefslogtreecommitdiff
path: root/src/Model
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model')
-rw-r--r--src/Model/Content.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Model/Content.kt b/src/Model/Content.kt
index e59037d2..bb0ff00f 100644
--- a/src/Model/Content.kt
+++ b/src/Model/Content.kt
@@ -58,8 +58,8 @@ public class Content() : ContentNode() {
public val sections: List<ContentSection>
get() = sectionList
- fun addSection(name: String?, subjectName: String?): ContentSection {
- val section = ContentSection(name ?: "", subjectName)
+ fun addSection(tag: String?, subjectName: String?): ContentSection {
+ val section = ContentSection(tag ?: "", subjectName)
sectionList.add(section)
return section
}