From f791ddb7bb3feffa4ff322e694afdddd3a0fbf2b Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 22 Mar 2022 15:57:10 +0100 Subject: [PATCH] Small cleanup --- .../im/vector/app/features/invite/InviteUsersToRoomActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/invite/InviteUsersToRoomActivity.kt b/vector/src/main/java/im/vector/app/features/invite/InviteUsersToRoomActivity.kt index 48a70fb164..7bb6670e96 100644 --- a/vector/src/main/java/im/vector/app/features/invite/InviteUsersToRoomActivity.kt +++ b/vector/src/main/java/im/vector/app/features/invite/InviteUsersToRoomActivity.kt @@ -74,8 +74,7 @@ class InviteUsersToRoomActivity : SimpleFragmentActivity() { is UserListSharedAction.OnMenuItemSelected -> onMenuItemSelected(sharedAction) UserListSharedAction.OpenPhoneBook -> openPhoneBook() // not exhaustive because it's a sharedAction - else -> { - } + else -> Unit } } .launchIn(lifecycleScope)