Skip to content

Commit

Permalink
Merge pull request #3971 from element-hq/feature/bma/cleanup
Browse files Browse the repository at this point in the history
Fix wrong name of classes and method
  • Loading branch information
bmarty authored Nov 29, 2024
2 parents 30897d3 + efabf71 commit 74e9dbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import javax.inject.Inject

@ContributesBinding(AppScope::class)
@SingleIn(AppScope::class)
class SharedPreferencesWelcomeScreenState @Inject constructor(
class SharedPreferencesWelcomeScreenStore @Inject constructor(
private val sharedPreferences: SharedPreferences,
) : WelcomeScreenStore {
companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

package io.element.android.features.ftue.impl.welcome.state

class InMemoryWelcomeScreenState : WelcomeScreenStore {
class InMemoryWelcomeScreenStore : WelcomeScreenStore {
private var isWelcomeScreenNeeded = true

override fun isWelcomeScreenNeeded(): Boolean {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import io.element.android.features.messages.impl.timeline.aTimelineItemReactions
import io.element.android.libraries.matrix.api.core.EventId

open class ReactionSummaryStateProvider : PreviewParameterProvider<ReactionSummaryState> {
override val values = sequenceOf(anActionListState())
override val values = sequenceOf(aReactionSummaryState())
}

fun anActionListState(): ReactionSummaryState {
fun aReactionSummaryState(): ReactionSummaryState {
val reactions = aTimelineItemReactions(8, true).reactions
return ReactionSummaryState(
target = ReactionSummaryState.Summary(
Expand Down

0 comments on commit 74e9dbe

Please sign in to comment.