We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb00071 commit 2366068Copy full SHA for 2366068
app/src/main/java/io/github/sds100/keymapper/home/HomeScreen.kt
@@ -343,13 +343,13 @@ fun HomeScreen(
343
modifier = Modifier.padding(horizontal = 16.dp),
344
verticalAlignment = Alignment.CenterVertically,
345
) {
346
- Icon(Icons.Rounded.Add, contentDescription = null)
347
-
348
val fabText = when (currentDestination?.route) {
349
HomeDestination.FloatingButtons.route -> stringResource(R.string.home_fab_new_floating_layout)
350
else -> stringResource(R.string.home_fab_new_key_map)
351
}
352
+ Icon(Icons.Rounded.Add, contentDescription = fabText)
+
353
val isFabTextVisible = if (isFloatingLayoutsDestination) {
354
viewModel.listFloatingLayoutsViewModel.showFabText
355
} else {
0 commit comments