From 45509a68bb94da5e39835deea5a424d13fcc2f0e Mon Sep 17 00:00:00 2001 From: ganfra Date: Fri, 1 Oct 2021 09:43:57 +0200 Subject: [PATCH] TextComposer: fix ktlint --- .../home/room/detail/composer/TextComposerViewState.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerViewState.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerViewState.kt index 379add779b..d41ad52fc3 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerViewState.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerViewState.kt @@ -52,8 +52,5 @@ data class TextComposerViewState( val isComposerVisible: Boolean get() = canSendMessage && !isVoiceRecording - constructor(args: RoomDetailArgs) : this( - roomId = args.roomId, - ) + constructor(args: RoomDetailArgs) : this(roomId = args.roomId) } -