mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 15:44:54 +00:00
Fix wording in room invite members view: Send -> Invite #2037
This commit is contained in:
committed by
Benoit Marty
parent
9130ecbd7d
commit
bdfea78f34
+1
-3
@@ -18,7 +18,6 @@ package io.element.android.features.roomdetails.impl.invite
|
|||||||
|
|
||||||
import androidx.compose.foundation.layout.Arrangement
|
import androidx.compose.foundation.layout.Arrangement
|
||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
import androidx.compose.foundation.layout.ExperimentalLayoutApi
|
|
||||||
import androidx.compose.foundation.layout.PaddingValues
|
import androidx.compose.foundation.layout.PaddingValues
|
||||||
import androidx.compose.foundation.layout.consumeWindowInsets
|
import androidx.compose.foundation.layout.consumeWindowInsets
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
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 io.element.android.libraries.ui.strings.CommonStrings
|
||||||
import kotlinx.collections.immutable.ImmutableList
|
import kotlinx.collections.immutable.ImmutableList
|
||||||
|
|
||||||
@OptIn(ExperimentalLayoutApi::class)
|
|
||||||
@Composable
|
@Composable
|
||||||
fun RoomInviteMembersView(
|
fun RoomInviteMembersView(
|
||||||
state: RoomInviteMembersState,
|
state: RoomInviteMembersState,
|
||||||
@@ -128,7 +126,7 @@ private fun RoomInviteMembersTopBar(
|
|||||||
navigationIcon = { BackButton(onClick = onBackPressed) },
|
navigationIcon = { BackButton(onClick = onBackPressed) },
|
||||||
actions = {
|
actions = {
|
||||||
TextButton(
|
TextButton(
|
||||||
text = stringResource(CommonStrings.action_send),
|
text = stringResource(CommonStrings.action_invite),
|
||||||
onClick = onSendPressed,
|
onClick = onSendPressed,
|
||||||
enabled = canSend,
|
enabled = canSend,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user