aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorحسين <ZidHussein@gmail.com>2018-05-02 19:48:02 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2018-05-02 20:48:02 +0200
commit2a7038337da653ad8fde7186ae137bcf5c77d539 (patch)
tree4f8fc98b54b765bd25d0c82924088099c1590a92 /app/src/main/java
parentcbf8b753b4ba3404a7e7e509f3a061c38eb44a1a (diff)
added support for adaptive icon (#402)
Signed-off-by: Hussein Mohammed <zidhussein@gmail.com>
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/PasswordStore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
index 99593700..890ab3e8 100644
--- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
+++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
@@ -449,7 +449,7 @@ public class PasswordStore extends AppCompatActivity {
ShortcutInfo shortcut = new ShortcutInfo.Builder(this, item.getFullPathToParent())
.setShortLabel(item.toString())
.setLongLabel(item.getFullPathToParent() + item.toString())
- .setIcon(Icon.createWithResource(this, R.drawable.ic_launcher))
+ .setIcon(Icon.createWithResource(this, R.mipmap.ic_launcher))
.setIntent(intent.setAction("DECRYPT_PASS")) // Needs action
.build();
List<ShortcutInfo> shortcuts = shortcutManager.getDynamicShortcuts();