Commit 34864920 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Value for smallIcon is required

Set value of smallIcon to icon by default as it was in the past before the smallIcon could be defined yourself.
Reported by #59
parent 421b2df5
Loading
Loading
Loading
Loading
+4 −0
Changes for src/android/Options.java: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -179,6 +179,10 @@ public class Options {
            resId = getIconValue("android", iconName);
        }

        if (resId == 0) {
            resId = getIcon();
        }
        
        return options.optInt("smallIcon", resId);
    }