Rename string resource
This commit is contained in:
@@ -28,7 +28,7 @@ fun ColumnScope.ShowAllButton(
|
||||
onClick = onShowAll,
|
||||
contentPadding = ButtonDefaults.TextButtonWithTrailingIconContentPadding,
|
||||
) {
|
||||
Text(stringResource(R.string.unit_converter_show_all))
|
||||
Text(stringResource(R.string.show_all))
|
||||
Icon(
|
||||
Icons.AutoMirrored.Rounded.ArrowForward,
|
||||
null,
|
||||
|
||||
+1
-4
@@ -3,13 +3,11 @@ package de.mm20.launcher2.ui.launcher.search.unitconverter
|
||||
import android.icu.text.DateFormat
|
||||
import androidx.compose.foundation.clickable
|
||||
import androidx.compose.foundation.layout.*
|
||||
import androidx.compose.material.icons.Icons
|
||||
import androidx.compose.material.icons.rounded.*
|
||||
import androidx.compose.material3.*
|
||||
import androidx.compose.runtime.*
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.graphics.vector.ImageVector
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.text.style.TextOverflow
|
||||
@@ -17,7 +15,6 @@ import androidx.compose.ui.unit.dp
|
||||
import de.mm20.launcher2.search.data.CurrencyUnitConverter
|
||||
import de.mm20.launcher2.search.data.UnitConverter
|
||||
import de.mm20.launcher2.ui.R
|
||||
import de.mm20.launcher2.unitconverter.Dimension
|
||||
import java.util.*
|
||||
|
||||
@Composable
|
||||
@@ -133,7 +130,7 @@ fun UnitConverterItem(
|
||||
.padding(horizontal = 12.dp)
|
||||
) {
|
||||
Text(
|
||||
text = stringResource(id = R.string.unit_converter_show_all),
|
||||
text = stringResource(id = R.string.show_all),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user