set color for autofill notification

This commit is contained in:
Kyle Spearrin 2017-01-30 23:41:39 -05:00
parent 53774735d4
commit 95b8efae20

View file

@ -149,6 +149,8 @@ namespace Bit.Android
.SetTicker("Tap this notification to autofill a login from your bitwarden vault.")
.SetWhen(Java.Lang.JavaSystem.CurrentTimeMillis())
.SetVisibility(NotificationVisibility.Secret)
.SetColor(global::Android.Support.V4.Content.ContextCompat.GetColor(ApplicationContext,
Resource.Color.primary))
.SetContentIntent(pendingIntent);
var notificationManager = (NotificationManager)GetSystemService(NotificationService);