Skip to content

Commit

Permalink
Merge pull request #885 from rkowase/refactor/remove_redundant_qualif…
Browse files Browse the repository at this point in the history
…ier_name

[Refactoring] Remove redundant qualifier names
  • Loading branch information
takahirom authored Oct 12, 2022
2 parents 881dec2 + 5ac5304 commit 929b193
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 929b193

Please sign in to comment.