Commit 34864920 by Sebastián Katzer

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
...@@ -179,6 +179,10 @@ public class Options { ...@@ -179,6 +179,10 @@ public class Options {
resId = getIconValue("android", iconName); resId = getIconValue("android", iconName);
} }
if (resId == 0) {
resId = getIcon();
}
return options.optInt("smallIcon", resId); return options.optInt("smallIcon", resId);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment