Fixup to use compose FontFamily
This commit is contained in:
1 parent
1bfda83665
commit
8f9d2adcfe
1 file changed
+1
-2
@@ -1,6 +1,5 @@
|
||||
package com.hippo.ehviewer.ui.tools
|
||||
|
||||
import android.graphics.Typeface
|
||||
import androidx.annotation.StringRes
|
||||
import androidx.compose.foundation.clickable
|
||||
import androidx.compose.foundation.layout.Column
|
||||
@@ -250,7 +249,7 @@ class DialogState {
|
||||
value = note,
|
||||
onValueChange = { note = it },
|
||||
modifier = Modifier.width(128.dp),
|
||||
textStyle = TextStyle(fontFamily = FontFamily(Typeface.MONOSPACE)),
|
||||
textStyle = TextStyle(fontFamily = FontFamily.Monospace),
|
||||
label = { Text(text = stringResource(id = hint)) },
|
||||
trailingIcon = {
|
||||
if (note.isNotEmpty()) {
|
||||
|
||||
Reference in new issue
Block a user