From ab8164ccdc2cb11f4fc755c122c8c3d4963d656b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Mon, 11 Sep 2023 13:36:24 +0200 Subject: [PATCH] Use long labels for shortcuts instead of short ones --- .../com/simplemobiletools/launcher/extensions/Activity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/launcher/extensions/Activity.kt b/app/src/main/kotlin/com/simplemobiletools/launcher/extensions/Activity.kt index e1e0d75..a7fade4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/launcher/extensions/Activity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/launcher/extensions/Activity.kt @@ -120,7 +120,7 @@ fun Activity.handleGridItemPopupMenu(anchorView: View, gridItem: HomeScreenGridI if (hasShortcuts) { val iconSize = resources.getDimensionPixelSize(R.dimen.menu_icon_size) shortcuts?.forEach { - menu.add(R.id.group_shortcuts, Menu.NONE, Menu.NONE, it.shortLabel) + menu.add(R.id.group_shortcuts, Menu.NONE, Menu.NONE, it.longLabel) .setIcon( launcherApps.getShortcutIconDrawable(it, resources.displayMetrics.densityDpi).toBitmap(width = iconSize, height = iconSize) .toDrawable(resources)