From ec3248d7146300de7a661e22db18e73fcdfd74cd Mon Sep 17 00:00:00 2001 From: Onuray Sahin Date: Wed, 15 Jun 2022 21:34:04 +0300 Subject: [PATCH] Lint fixes. --- .../vector/app/features/poll/create/CreatePollViewStates.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vector/src/test/java/im/vector/app/features/poll/create/CreatePollViewStates.kt b/vector/src/test/java/im/vector/app/features/poll/create/CreatePollViewStates.kt index ce27176db2..518beabd1f 100644 --- a/vector/src/test/java/im/vector/app/features/poll/create/CreatePollViewStates.kt +++ b/vector/src/test/java/im/vector/app/features/poll/create/CreatePollViewStates.kt @@ -21,13 +21,13 @@ import kotlin.random.Random object CreatePollViewStates { - val fakeRoomId = "fakeRoomId" - val fakeEventId = "fakeEventId" + const val fakeRoomId = "fakeRoomId" + const val fakeEventId = "fakeEventId" val createPollArgs = CreatePollArgs(fakeRoomId, null, PollMode.CREATE) val editPollArgs = CreatePollArgs(fakeRoomId, fakeEventId, PollMode.EDIT) - val fakeQuestion = "What is your favourite coffee?" + const val fakeQuestion = "What is your favourite coffee?" val fakeOptions = List(CreatePollViewModel.MAX_OPTIONS_COUNT + 1) { "Coffee No${Random.nextInt()}" } val initialCreatePollViewState = CreatePollViewState(createPollArgs).copy(