mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Format files.
This commit is contained in:
+3
-3
@@ -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
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -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(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user