changes according to CR

This commit is contained in:
NIkita Fedrunov 2022-09-06 14:51:11 +02:00
parent 1b651f2aa5
commit 4dc01fcfa6
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ class NewRoomRobot(
var createdRoom: Boolean = false
) {
var features: VectorFeatures = DefaultVectorFeatures()
private var features: VectorFeatures = DefaultVectorFeatures()
fun createNewRoom(block: CreateNewRoomRobot.() -> Unit) {
if (features.isNewAppLayoutEnabled()) {

View File

@ -34,7 +34,7 @@ import im.vector.app.features.roomdirectory.RoomDirectoryActivity
class RoomListRobot {
var features: VectorFeatures = DefaultVectorFeatures()
private var features: VectorFeatures = DefaultVectorFeatures()
fun openRoom(roomName: String, block: RoomDetailRobot.() -> Unit) {
clickOn(roomName)

View File

@ -34,7 +34,7 @@ import org.hamcrest.Matchers
class SpaceRobot {
var features: VectorFeatures = DefaultVectorFeatures()
private var features: VectorFeatures = DefaultVectorFeatures()
fun createSpace(isFirstSpace: Boolean, block: SpaceCreateRobot.() -> Unit) {
if (features.isNewAppLayoutEnabled()) {