mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix(EmptyScreen): Align center the message if it's not tablet UI
This commit is contained in:
parent
c09c4045e2
commit
55fad67223
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ import androidx.compose.ui.Modifier
|
|||
import androidx.compose.ui.graphics.ColorFilter
|
||||
import androidx.compose.ui.graphics.ImageBitmap
|
||||
import androidx.compose.ui.graphics.vector.ImageVector
|
||||
import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.unit.sp
|
||||
|
@ -154,6 +155,7 @@ private fun EmptyScreenImpl(
|
|||
text = message,
|
||||
color = MaterialTheme.colorScheme.textHint,
|
||||
style = MaterialTheme.typography.labelMedium,
|
||||
textAlign = TextAlign.Center,
|
||||
)
|
||||
actions()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue