quality: rename class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user