Merge pull request #3971 from element-hq/feature/bma/cleanup
Fix wrong name of classes and method
This commit is contained in:
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user