Skip to content

Commit

Permalink
Merge pull request #3 from HeyAlex/release-v-1-3
Browse files Browse the repository at this point in the history
update default notification to release version
  • Loading branch information
HeyAlex authored Dec 30, 2018
2 parents 99cf5da + 4d9c7d3 commit f711a93
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ public Notification makeNotification(@NonNull Context context) {
}

Notification.Builder notificationBuilder = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID);
notificationBuilder.setOngoing(true);
notificationBuilder.setContentTitle("Update widget")
.setContentText("Wait for finish updating")
.setSmallIcon(android.R.drawable.stat_notify_sync);
return notificationBuilder.build();
}
}

0 comments on commit f711a93

Please sign in to comment.