* Move `ChangeRoles*` classes to their own module so they can be shared * Hook the change roles screen to the leave room action, add confirmation dialogs * Use enum instead of sealed interface for `ChangeRoomMemberRolesListType` * Try to improve communications between nodes * refactor (leave room) : makes sure to expose only necessary code from api module * Add `:libraries:previewutils` module to share some test fixtures used for UI previews * Update screenshots --------- Co-authored-by: ElementBot <android@element.io> Co-authored-by: ganfra <francoisg@matrix.org>
36 lines
1 KiB
Kotlin
36 lines
1 KiB
Kotlin
import extension.setupAnvil
|
|
|
|
/*
|
|
* Copyright 2022-2024 New Vector Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
* Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
plugins {
|
|
id("io.element.android-compose-library")
|
|
}
|
|
|
|
android {
|
|
namespace = "io.element.android.features.leaveroom.impl"
|
|
}
|
|
|
|
setupAnvil()
|
|
|
|
dependencies {
|
|
api(projects.features.leaveroom.api)
|
|
implementation(projects.libraries.core)
|
|
implementation(projects.libraries.architecture)
|
|
implementation(projects.libraries.matrix.api)
|
|
implementation(projects.libraries.designsystem)
|
|
implementation(projects.libraries.uiStrings)
|
|
|
|
testImplementation(libs.test.junit)
|
|
testImplementation(libs.coroutines.test)
|
|
testImplementation(libs.coroutines.core)
|
|
testImplementation(libs.molecule.runtime)
|
|
testImplementation(libs.test.truth)
|
|
testImplementation(libs.test.turbine)
|
|
testImplementation(projects.libraries.matrix.test)
|
|
testImplementation(projects.tests.testutils)
|
|
}
|