mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-06 00:02:48 +02:00
changes according to CR
This commit is contained in:
@@ -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()) {
|
||||
|
@@ -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)
|
||||
|
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user