mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-30 05:43:00 -08:00
Change notification icon
This commit is contained in:
1 parent
8d18970b4c
commit
fa08dc5cfb
5 files changed
+239
-2
No files matched your search
+2
-2
@@ -65,9 +65,9 @@ class AdvancedUnlockNotificationService : NotificationService() {
|
||||
val deviceCredential = PreferencesUtil.isDeviceCredentialUnlockEnable(this)
|
||||
val notificationBuilder = buildNewNotification().apply {
|
||||
setSmallIcon(if (deviceCredential) {
|
||||
R.drawable.bolt
|
||||
R.drawable.notification_ic_device_unlock_24dp
|
||||
} else {
|
||||
R.drawable.fingerprint
|
||||
R.drawable.notification_ic_fingerprint_unlock_24dp
|
||||
})
|
||||
intent?.let {
|
||||
setContentTitle(getString(R.string.advanced_unlock))
|
||||
|
||||
Reference in new issue
Block a user