mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-12 13:05:30 -08:00
Proper shortcut name
This commit is contained in:
@@ -29,7 +29,7 @@ object Shortcuts {
|
||||
val manager = context.getSystemService<ShortcutManager>() ?: return
|
||||
val intent = context.packageManager.getLaunchIntentForPackage(context.packageName) ?: return
|
||||
val info = ShortcutInfo.Builder(context, Const.Nav.HOME)
|
||||
.setShortLabel(context.getString(R.string.app_name))
|
||||
.setShortLabel(context.getString(R.string.magisk))
|
||||
.setIntent(intent)
|
||||
.setIcon(context.getIcon(R.drawable.ic_launcher))
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user