fix: 为 FAB 文字添加行数限制

This commit is contained in:
Super12138 2025-11-09 10:32:44 +08:00
parent 7fa618a611
commit 84c49542c0
2 changed files with 2 additions and 1 deletions

View file

@ -37,7 +37,7 @@ android {
applicationId = "cn.super12138.todo"
minSdk = 24
targetSdk = 36
versionCode = 883
versionCode = 884
versionName = "2.3.3"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

View file

@ -50,6 +50,7 @@ fun TodoFloatingActionButton(
text = {
Text(
text = text,
maxLines = 1,
overflow = TextOverflow.Clip
)
},