fix: Make Nav bar label text size 10sp to fit the Watchtower text #190

This commit is contained in:
Artem Chepurnoy 2024-03-01 19:16:04 +02:00
parent 13e2b7f360
commit 0927b27657
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E

View File

@ -85,6 +85,7 @@ import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.coerceAtLeast import androidx.compose.ui.unit.coerceAtLeast
import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import androidx.compose.ui.zIndex import androidx.compose.ui.zIndex
import com.artemchep.keyguard.common.model.DAccountStatus import com.artemchep.keyguard.common.model.DAccountStatus
import com.artemchep.keyguard.common.usecase.GetAccountStatus import com.artemchep.keyguard.common.usecase.GetAccountStatus
@ -399,7 +400,7 @@ fun HomeScreenContent(
textAlign = TextAlign.Center, textAlign = TextAlign.Center,
// Default style does not fit on devices with small // Default style does not fit on devices with small
// screens. // screens.
style = MaterialTheme.typography.labelSmall, fontSize = 10.sp,
) )
} }
} else { } else {