Skip to content

Commit

Permalink
🎨 Fixed font size
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzovngl committed Jan 5, 2024
1 parent a7d5a8e commit cce3b80
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.tooling.preview.PreviewLightDark
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import androidx.navigation.NavHostController
import androidx.navigation.compose.rememberNavController
import com.lorenzovainigli.foodexpirationdates.R
Expand Down Expand Up @@ -146,6 +147,7 @@ fun EmptyList() {
Text(
text = stringResource(id = R.string.no_items_found),
style = MaterialTheme.typography.displaySmall,
fontSize = 24.sp,
color = MaterialTheme.colorScheme.secondary.copy(alpha = 0.9f),
textAlign = TextAlign.Center
)
Expand Down

0 comments on commit cce3b80

Please sign in to comment.