Skip to content

Commit

Permalink
💄 Update notification icon
Browse files Browse the repository at this point in the history
Icon updated to application logo
  • Loading branch information
igorescodro committed Jan 17, 2019
1 parent b907a7c commit b6d94c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TaskNotification(

private fun buildNotification(task: Task) =
NotificationCompat.Builder(context, channel.getChannelId()).apply {
setSmallIcon(R.drawable.ic_alarm)
setSmallIcon(R.drawable.ic_bookmark_check)
setContentTitle(context.getString(R.string.app_name))
setContentText(task.title)
setContentIntent(buildPendingIntent(task))
Expand Down
9 changes: 9 additions & 0 deletions app/src/main/res/drawable/ic_bookmark_check.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#000"
android:pathData="M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,14L17.25,7.76L15.84,6.34L11,11.18L8.41,8.59L7,10L11,14Z" />
</vector>

0 comments on commit b6d94c7

Please sign in to comment.