mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
changes according to CR
This commit is contained in:
parent
1b651f2aa5
commit
4dc01fcfa6
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user