diff --git a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/model/Timetable.kt b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/model/Timetable.kt index 15d052d68..90c337e2c 100644 --- a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/model/Timetable.kt +++ b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/model/Timetable.kt @@ -135,7 +135,7 @@ public fun Timetable.Companion.fake(): Timetable { TimeZone.of("UTC+9") ) - val fake = TimetableItem.Session.fake() + val fake = Session.fake() add( fake .copy( diff --git a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/model/TimetableItem.kt b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/model/TimetableItem.kt index d0d639b06..93c95d237 100644 --- a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/model/TimetableItem.kt +++ b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/model/TimetableItem.kt @@ -76,7 +76,7 @@ public sealed class TimetableItem { } } -public fun TimetableItem.Session.Companion.fake(): Session { +public fun Session.Companion.fake(): Session { return Session( id = TimetableItemId("2"), title = MultiLangText("DroidKaigiのアプリのアーキテクチャ", "DroidKaigi App Architecture"), diff --git a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/strings/Strings.kt b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/strings/Strings.kt index ea2c3731a..68865f972 100644 --- a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/strings/Strings.kt +++ b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2022/strings/Strings.kt @@ -1,12 +1,11 @@ package io.github.droidkaigi.confsched2022.strings -import io.github.droidkaigi.confsched2022.model.Res import io.github.droidkaigi.confsched2022.model.Res.strings public val Strings: strings - get() = Res.strings + get() = strings // For iOS usage @Suppress("unused") public val shared: strings - get() = Res.strings + get() = strings