Create dedicated modules for Strings and apply the plugin com.likethesalad.stem

Remove translations
This commit is contained in:
Benoit Marty 2023-01-05 17:00:58 +01:00 committed by Benoit Marty
parent da59e812a7
commit 8c93aedbc1
33 changed files with 384 additions and 182 deletions

View file

@ -48,6 +48,7 @@ import androidx.compose.ui.focus.FocusRequester
import androidx.compose.ui.focus.focusRequester
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
@ -55,6 +56,7 @@ import io.element.android.x.core.compose.LogCompositions
import io.element.android.x.core.compose.textFieldState
import io.element.android.x.designsystem.components.avatar.Avatar
import io.element.android.x.matrix.ui.model.MatrixUser
import io.element.android.x.ui.strings.R as StringR
@Composable
fun RoomListTopBar(
@ -185,7 +187,7 @@ private fun DefaultRoomListTopBar(
title = {
Text(
fontWeight = FontWeight.Bold,
text = "All Chats"
text = stringResource(id = StringR.string.all_chats)
)
},
navigationIcon = {