Skip to content

Commit

Permalink
Changing Top Bar text font weight to medium
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavesh100 committed Sep 19, 2023
1 parent 434076b commit 360e710
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.shadow
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.lorenzovainigli.foodexpirationdates.ui.theme.FoodExpirationDatesTheme
Expand All @@ -30,7 +31,8 @@ fun MyTopAppBar(
title = {
Text(
text = title,
color = MaterialTheme.colorScheme.primary
color = MaterialTheme.colorScheme.primary,
fontWeight = FontWeight.Medium
)
},
actions = actions,
Expand Down

0 comments on commit 360e710

Please sign in to comment.