Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4c2cdf6 authored by Gitsaibot's avatar Gitsaibot Committed by Jochen Sprickerhof
Browse files

Remove unnecessary null check

parent 0b1b8677
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1604,7 +1604,7 @@ public class Utils {

        // Reuse current drawable if possible
        Drawable currentDrawable = icon.findDrawableByLayerId(R.id.today_icon_day);
        if (currentDrawable != null && currentDrawable instanceof DayOfMonthDrawable) {
        if (currentDrawable instanceof DayOfMonthDrawable) {
            today = (DayOfMonthDrawable)currentDrawable;
        } else {
            today = new DayOfMonthDrawable(c);