mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
set color for autofill notification
This commit is contained in:
parent
53774735d4
commit
95b8efae20
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,8 @@ namespace Bit.Android
|
||||||
.SetTicker("Tap this notification to autofill a login from your bitwarden vault.")
|
.SetTicker("Tap this notification to autofill a login from your bitwarden vault.")
|
||||||
.SetWhen(Java.Lang.JavaSystem.CurrentTimeMillis())
|
.SetWhen(Java.Lang.JavaSystem.CurrentTimeMillis())
|
||||||
.SetVisibility(NotificationVisibility.Secret)
|
.SetVisibility(NotificationVisibility.Secret)
|
||||||
|
.SetColor(global::Android.Support.V4.Content.ContextCompat.GetColor(ApplicationContext,
|
||||||
|
Resource.Color.primary))
|
||||||
.SetContentIntent(pendingIntent);
|
.SetContentIntent(pendingIntent);
|
||||||
|
|
||||||
var notificationManager = (NotificationManager)GetSystemService(NotificationService);
|
var notificationManager = (NotificationManager)GetSystemService(NotificationService);
|
||||||
|
|
Loading…
Reference in a new issue