From cdc8f7fea7b742f4206f9af9e789fe59d25637dc Mon Sep 17 00:00:00 2001 From: Jonny Andrew Date: Mon, 24 Oct 2022 09:43:03 +0100 Subject: [PATCH] Remove redundant `this` --- .../app/features/attachments/AttachmentTypeSelectorViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/attachments/AttachmentTypeSelectorViewModel.kt b/vector/src/main/java/im/vector/app/features/attachments/AttachmentTypeSelectorViewModel.kt index ec45e226be..fe6616e53a 100644 --- a/vector/src/main/java/im/vector/app/features/attachments/AttachmentTypeSelectorViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/attachments/AttachmentTypeSelectorViewModel.kt @@ -45,7 +45,7 @@ class AttachmentTypeSelectorViewModel @AssistedInject constructor( init { setState { - this.copy( + copy( isLocationVisible = vectorFeatures.isLocationSharingEnabled(), isVoiceBroadcastVisible = vectorFeatures.isVoiceBroadcastEnabled(), )