Fix string resources in shortcut

This commit is contained in:
topjohnwu 2018-12-02 15:16:05 -05:00
parent ee2c801fe0
commit 56a76df28e

View File

@ -67,7 +67,7 @@ public class ShortcutReceiver extends BroadcastReceiver {
.setRank(3)
.build());
shortCuts.add(new ShortcutInfo.Builder(mm, "downloads")
.setShortLabel(mm.getString(R.string.download))
.setShortLabel(mm.getString(R.string.downloads))
.setIntent(new Intent(mm, Data.classMap.get(SplashActivity.class))
.putExtra(Const.Key.OPEN_SECTION, "downloads")
.setAction(Intent.ACTION_VIEW)