fix: 为 FAB 文字添加行数限制
This commit is contained in:
parent
7fa618a611
commit
84c49542c0
2 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ android {
|
||||||
applicationId = "cn.super12138.todo"
|
applicationId = "cn.super12138.todo"
|
||||||
minSdk = 24
|
minSdk = 24
|
||||||
targetSdk = 36
|
targetSdk = 36
|
||||||
versionCode = 883
|
versionCode = 884
|
||||||
versionName = "2.3.3"
|
versionName = "2.3.3"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ fun TodoFloatingActionButton(
|
||||||
text = {
|
text = {
|
||||||
Text(
|
Text(
|
||||||
text = text,
|
text = text,
|
||||||
|
maxLines = 1,
|
||||||
overflow = TextOverflow.Clip
|
overflow = TextOverflow.Clip
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue