Fix wording in room invite members view: Send -> Invite #2037

This commit is contained in:
Benoit Marty 2023-12-15 12:49:09 +01:00 committed by Benoit Marty
parent 9130ecbd7d
commit bdfea78f34

View file

@ -18,7 +18,6 @@ package io.element.android.features.roomdetails.impl.invite
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ExperimentalLayoutApi
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.consumeWindowInsets
import androidx.compose.foundation.layout.fillMaxWidth
@ -54,7 +53,6 @@ import io.element.android.compound.theme.ElementTheme
import io.element.android.libraries.ui.strings.CommonStrings
import kotlinx.collections.immutable.ImmutableList
@OptIn(ExperimentalLayoutApi::class)
@Composable
fun RoomInviteMembersView(
state: RoomInviteMembersState,
@ -128,7 +126,7 @@ private fun RoomInviteMembersTopBar(
navigationIcon = { BackButton(onClick = onBackPressed) },
actions = {
TextButton(
text = stringResource(CommonStrings.action_send),
text = stringResource(CommonStrings.action_invite),
onClick = onSendPressed,
enabled = canSend,
)