Format files.

This commit is contained in:
Benoit Marty 2025-09-08 16:45:54 +02:00
parent 20b6f0d6ee
commit 83647f2d0c
2 changed files with 6 additions and 6 deletions

View file

@ -29,11 +29,11 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
@Inject @Inject
class DeclineAndBlockPresenter( class DeclineAndBlockPresenter(
@Assisted private val inviteData: InviteData, @Assisted private val inviteData: InviteData,
private val declineInvite: DeclineInvite, private val declineInvite: DeclineInvite,
private val snackbarDispatcher: SnackbarDispatcher, private val snackbarDispatcher: SnackbarDispatcher,
) : Presenter<DeclineAndBlockState> { ) : Presenter<DeclineAndBlockState> {
@AssistedFactory @AssistedFactory
interface Factory { interface Factory {
fun create(inviteData: InviteData): DeclineAndBlockPresenter fun create(inviteData: InviteData): DeclineAndBlockPresenter
@ -90,4 +90,4 @@ import kotlinx.coroutines.launch
} }
} }
} }
} }

View file

@ -21,11 +21,11 @@ import io.element.android.libraries.architecture.Presenter
import kotlinx.collections.immutable.toImmutableList import kotlinx.collections.immutable.toImmutableList
@Inject @Inject
class ViewFolderPresenter( class ViewFolderPresenter(
@Assisted val canGoUp: Boolean, @Assisted val canGoUp: Boolean,
@Assisted val path: String, @Assisted val path: String,
private val folderExplorer: FolderExplorer, private val folderExplorer: FolderExplorer,
) : Presenter<ViewFolderState> { ) : Presenter<ViewFolderState> {
@AssistedFactory @AssistedFactory
interface Factory { interface Factory {
fun create(canGoUp: Boolean, path: String): ViewFolderPresenter fun create(canGoUp: Boolean, path: String): ViewFolderPresenter
@ -45,4 +45,4 @@ import kotlinx.collections.immutable.toImmutableList
content = content.toImmutableList(), content = content.toImmutableList(),
) )
} }
} }