updating some icons

This commit is contained in:
tibbi
2021-11-19 13:29:28 +01:00
parent 62d1cb2460
commit c812483f13
23 changed files with 31 additions and 36 deletions

View File

@ -313,7 +313,7 @@ fun Context.getTimerNotification(timer: Timer, pendingIntent: PendingIntent, add
val builder = NotificationCompat.Builder(this)
.setContentTitle(if(timer.label.isEmpty()) getString(R.string.timer) else timer.label)
.setContentText(getString(R.string.time_expired))
.setSmallIcon(R.drawable.ic_timer)
.setSmallIcon(R.drawable.ic_hourglass_vector)
.setContentIntent(pendingIntent)
.setPriority(NotificationCompat.PRIORITY_MAX)
.setDefaults(Notification.DEFAULT_LIGHTS)

View File

@ -267,7 +267,7 @@ class StopwatchFragment : Fragment() {
}
private fun updateSortingIndicators() {
var bitmap = requireContext().resources.getColoredBitmap(R.drawable.ic_sorting_triangle, requireContext().getAdjustedPrimaryColor())
var bitmap = requireContext().resources.getColoredBitmap(R.drawable.ic_sorting_triangle_vector, requireContext().getAdjustedPrimaryColor())
view.apply {
stopwatch_sorting_indicator_1.beInvisibleIf(sorting and SORT_BY_LAP == 0)
stopwatch_sorting_indicator_2.beInvisibleIf(sorting and SORT_BY_LAP_TIME == 0)

View File

@ -102,7 +102,7 @@ class TimerService : Service() {
val builder = NotificationCompat.Builder(this)
.setContentTitle(title)
.setContentText(contentText)
.setSmallIcon(R.drawable.ic_timer)
.setSmallIcon(R.drawable.ic_hourglass_vector)
.setPriority(Notification.PRIORITY_DEFAULT)
.setSound(null)
.setOngoing(true)