quality: rename class
This commit is contained in:
parent
f64cb6e8ef
commit
6a4ab9ba16
2 changed files with 3 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ import io.element.android.libraries.di.RoomScope
|
|||
class ManageAuthorizedSpacesNode(
|
||||
@Assisted buildContext: BuildContext,
|
||||
@Assisted plugins: List<Plugin>,
|
||||
presenterFactory: EditRoomAddressPresenter.Factory,
|
||||
presenterFactory: ManageAuthorizedSpacesPresenter.Factory,
|
||||
) : Node(buildContext, plugins = plugins) {
|
||||
private val navigator = plugins<SecurityAndPrivacyNavigator>().first()
|
||||
private val presenter = presenterFactory.create(navigator)
|
||||
|
|
|
|||
|
|
@ -21,14 +21,14 @@ import io.element.android.libraries.matrix.api.room.JoinedRoom
|
|||
import kotlinx.collections.immutable.persistentListOf
|
||||
|
||||
@AssistedInject
|
||||
class EditRoomAddressPresenter(
|
||||
class ManageAuthorizedSpacesPresenter(
|
||||
@Assisted private val navigator: SecurityAndPrivacyNavigator,
|
||||
private val client: MatrixClient,
|
||||
private val room: JoinedRoom,
|
||||
) : Presenter<ManageAuthorizedSpacesState> {
|
||||
@AssistedFactory
|
||||
interface Factory {
|
||||
fun create(navigator: SecurityAndPrivacyNavigator): EditRoomAddressPresenter
|
||||
fun create(navigator: SecurityAndPrivacyNavigator): ManageAuthorizedSpacesPresenter
|
||||
}
|
||||
|
||||
@Composable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue